Skip to content

Conversation

@nuno-vieira
Copy link
Member

@nuno-vieira nuno-vieira commented Nov 12, 2025

🔗 Issue Links

Original: #1035

📝 Summary

  • Expose AddedVoiceRecordingsView
  • Expose FilePickerView.init(fileURLs:)
  • Add MessageComposerViewModel.updateAddedAssets()

🧪 Manual Testing Notes

N/A

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change should be manually QAed
  • Changelog is updated with client-facing changes
  • Changelog is updated with new localization keys
  • New code is covered by unit tests
  • Documentation has been updated in the docs-content repo

* Make the AddedVoiceRecordingsView public

* Make the initializer of FilePickerView public

* Add `updateAddedAssets` func
@nuno-vieira nuno-vieira requested a review from a team as a code owner November 12, 2025 18:30
@nuno-vieira nuno-vieira changed the title Expose AddedVoiceRecordingsView Expose AddedVoiceRecordingsView + Expose composer attachments functions Nov 12, 2025
@github-actions
Copy link

Public Interface

+ public struct AddedVoiceRecordingsView: View  
+ 
+   public var body: some View
+   
+ 
+   public init(addedVoiceRecordings: [AddedVoiceRecording],onDiscardAttachment: @escaping (String) -> Void)



 public struct FilePickerView: UIViewControllerRepresentable  
-   public func makeUIViewController(context: Context)-> UIDocumentPickerViewController
+   public init(fileURLs: Binding<[URL]>)
-   public func updateUIViewController(_ uiViewController: UIDocumentPickerViewController,context: Context)
+   
-   public func makeCoordinator()-> FilePickerView.Coordinator
+ 
-   
+   public func makeUIViewController(context: Context)-> UIDocumentPickerViewController
- 
+   public func updateUIViewController(_ uiViewController: UIDocumentPickerViewController,context: Context)
-   public class Coordinator: NSObject, UIDocumentPickerDelegate  
+   public func makeCoordinator()-> FilePickerView.Coordinator
-     public func documentPicker(_ controller: UIDocumentPickerViewController,didPickDocumentsAt urls: [URL])
+ 
+   public class Coordinator: NSObject, UIDocumentPickerDelegate  
+   
+     public func documentPicker(_ controller: UIDocumentPickerViewController,didPickDocumentsAt urls: [URL])

 open class MessageComposerViewModel: ObservableObject  
+   public func updateAddedAssets(_ assets: [AddedAsset])

@Stream-SDK-Bot
Copy link
Collaborator

SDK Size

title develop branch diff status
StreamChatSwiftUI 9.63 MB 9.63 MB +1 KB 🟢

@Stream-SDK-Bot
Copy link
Collaborator

StreamChatSwiftUI XCSize

Object Diff (bytes)
MessageComposerViewModel.o +512
AddedVoiceRecordingsView.o +176
FilePickerView.o +140

@sonarqubecloud
Copy link

@nuno-vieira nuno-vieira merged commit dfcd961 into develop Nov 13, 2025
11 checks passed
@nuno-vieira nuno-vieira deleted the add/expose-composer-missing-views branch November 13, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants