Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow developers to choose the photo picker #36

Closed
longvudai opened this issue Dec 6, 2024 · 2 comments
Closed

Feature Request: Allow developers to choose the photo picker #36

longvudai opened this issue Dec 6, 2024 · 2 comments
Labels
feature request New feature request pending confirmation The bug/feature request is pending confirmation

Comments

@longvudai
Copy link

In the installation guide, I noticed that this SDK requires the Photo Library Usage Description permission. However, my app only needs to use UIImagePickerController to allow users to pick an image without requesting any permissions. How can I achieve this using this SDK?

@longvudai longvudai added feature request New feature request pending confirmation The bug/feature request is pending confirmation labels Dec 6, 2024
@longvudai longvudai changed the title Feature Request: Let developer decide photo picker Feature Request: Allow developers to choose the photo picker Dec 6, 2024
@venkatesh-ramesh-12517
Copy link
Collaborator

Hello @longvudai

The SDK requires NSPhotoLibraryUsageDescription permission to access the photo library when certain features, such as media sharing, are used. If you do not want to include this key in your app's Info.plist, you can disable the media sharing functionality in the SDK to prevent the permission request. To disable media sharing, you can use the following code:

ZohoSalesIQ.Chat.setVisibility(.photoLibrary, visible: false)

For more details on how to configure visibility settings, you can refer to the Zoho SalesIQ iOS SDK documentation.

Best regards,
Venkatesh | Zoho SalesIQ

@longvudai
Copy link
Author

thank you @venkatesh-ramesh-12517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request pending confirmation The bug/feature request is pending confirmation
Projects
None yet
Development

No branches or pull requests

2 participants