Skip to content

feat: add customizability for attachment picker ios select more photos component#2458

Merged
santhoshvai merged 1 commit intodevelopfrom
attachment-picker-ios-select-more-photos
Mar 15, 2024
Merged

feat: add customizability for attachment picker ios select more photos component#2458
santhoshvai merged 1 commit intodevelopfrom
attachment-picker-ios-select-more-photos

Conversation

@khushal87
Copy link
Copy Markdown
Contributor

@khushal87 khushal87 commented Mar 15, 2024

🎯 Goal

The goal of the PR is to add the ability to customize the attachment picker to select more photo components for iOS.

Note: This PR also removed unused docs files around the attachment picker.

🛠 Implementation details

The component can be customized using the AttachmentPickerIOSSelectMorePhotos prop in the OverlayProvider component:

Eg:

AttachmentPickerIOSSelectMorePhotos={() => {
                return (
                  <>
                    <Text>You are given selected access to the image gallery.</Text>
                    <Button onPress={iOS14RefreshGallerySelection} title='Manage' />
                  </>
                );
              }}

simulator_screenshot_8A178E3C-A2A3-4587-8510-D65A90EBF142

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@santhoshvai santhoshvai merged commit bacabd9 into develop Mar 15, 2024
@santhoshvai santhoshvai deleted the attachment-picker-ios-select-more-photos branch March 15, 2024 09:36
@github-actions github-actions Bot mentioned this pull request Apr 1, 2024
@stream-ci-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants