Open BigPun86 opened 6 years ago
Hi @BigPun86, I believe one or more of the currently-open PRs addresses this. Take a look through them, let me know if you can't find it.
@BigPun86 I experienced the same issue sharing from iMessage. The type being passed was text/plain
. I ignored the provided type and used jpg
instead. Everything worked as expected.
UPDATE I just tested sharing from WhatsApp to my app using the extension and everything is working as expected. I think that should fix it for you.
@AndrewHenderson I am able to see the share extension only in safari browser. How do i get share extension of my app from other apps like whatsapp, skype.
@theone3nu Please follow the steps provided in the README exactly. You need to modify the app's permissions.
@AndrewHenderson I followed the exact steps. Where to modify the app's permissions. I am not seeing myapp in the other apps share.
@AndrewHenderson Do you have the sample project in the repo i will clone it and directly run it in my xcode. I will change the bundle identifiers to run in my local device.
@AndrewHenderson Do you have the sample project in the repo i will clone it and directly run it in my xcode. I will change the bundle identifiers to run in my iphone device.
@AndrewHenderson Finally able to show my app in photos app by editing the info.plist. I have added NSExtensionActivationSupportsImageWithMaxCount in NSExtensionActivationRule. Now i am using await ShareExtension.openURL('myapp://'); in the share.ios.js component but it is not opening the myapp from photos app. Please help
Great. Yes, that’s the step you were missing.
You need to register that prefix, so that it is associated with your app. There is documentation from Apple on how to set that up.
On Thu, Nov 22, 2018 at 3:07 AM Trinu notifications@github.com wrote:
@AndrewHenderson https://github.com/AndrewHenderson Finally able to show my app in photos app by editing the info.plist. I have added NSExtensionActivationSupportsImageWithMaxCount in NSExtensionActivationRule. Now i am using await ShareExtension.openURL('myapp://'); in the share.ios.js component but it is not opening the myapp from photos app. Please help
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alinz/react-native-share-extension/issues/96#issuecomment-440995899, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-9jVBUx583uiK6TzudItTKwwXnhc3Jks5uxoVvgaJpZM4TvYu6 .
Hey there.
Module works great when i share an image from Gallery, but sharing image from WhatsApp does not work. Is there anything i need to consider to make this working?