ajith-ab / react-native-receive-sharing-intent

A React Native plugin that enables React Native apps to receive sharing photos, videos, text, urls or any other file types from another app
MIT License
304 stars 109 forks source link

Receive Sharing Intent is not working in release build for IOS [Error: file type is Invalid] #128

Open Ankappa opened 2 years ago

Ankappa commented 2 years ago

App doesn't open when tapped from share menu IOS 14.4 , XCODE Version 13.2.1 (13C100), "react-native-receive-sharing-intent": "^2.0.0", "react-native": "0.64.1", share info.list <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

NSExtension NSExtensionAttributes NSExtensionActivationRule NSExtensionActivationSupportsFileWithMaxCount 100 NSExtensionActivationSupportsImageWithMaxCount 100 NSExtensionActivationSupportsMovieWithMaxCount 100 NSExtensionActivationSupportsText NSExtensionActivationSupportsWebURLWithMaxCount 1 PHSupportedMediaTypes Video Image NSExtensionMainStoryboard MainInterface NSExtensionPointIdentifier com.apple.share-services

WhatsApp Image 2022-03-19 at 5 01 44 PM

Ankappa commented 2 years ago

@ajith-ab can you please me

WasimIbKhan commented 2 years ago

did you manage to fix this?

fukemy commented 1 year ago

any solution now?

WasimIbKhan commented 1 year ago

Nope just decided not to include it. Tell me if you find something.

On Fri, 18 Nov 2022, 03:42 kemy do, @.***> wrote:

any solution now?

— Reply to this email directly, view it on GitHub https://github.com/ajith-ab/react-native-receive-sharing-intent/issues/128#issuecomment-1319504063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYTSDRPBQ7QBJDSZSR4UO3WI33KRANCNFSM5RDUPG5A . You are receiving this because you commented.Message ID: @.*** .com>

fukemy commented 1 year ago

I found it, groupname must match bundle id, because the swift code using bundleId to get share data

WasimIbKhan commented 1 year ago

Thanks for the update. Really appreciate it. Now I can add it for myself hopefully.

On Sat, 19 Nov 2022, 04:03 kemy do, @.***> wrote:

I found it, groupname must match bundle id, because the swift code using bundleId to get share data

— Reply to this email directly, view it on GitHub https://github.com/ajith-ab/react-native-receive-sharing-intent/issues/128#issuecomment-1320787956, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYTSDSC4GIX2CPP2RPB45DWJBGRLANCNFSM5RDUPG5A . You are receiving this because you commented.Message ID: @.*** .com>