react-native-receive-sharing-intent
react-native-receive-sharing-intent copied to clipboard
can't receive files
after redirect to my app
ReceiveSharingIntent.getReceivedFiles( files => { // files returns as JSON Array example //[{ filePath: null, text: null, weblink: null, mimeType: null, contentUri: null, fileName: null, extension: null }] }, error => { console.log(error); }, 'com.xxxxx', // share url protocol (must be unique to your app, suggest using your apple bundle id) );
does not work. it doesn't receive any thing.
Same issue here, nothing happens.
Same issue here
Facing this issue. Please help
any update on this issue?
anyone come up with a solution to this?
any solution now?
Anyone figured this out? Airdrop
opens the app but does not receive files. TIA!
Hi guys, did you add the following intent to android/app/src/main/AndroidManifest.xml:
<intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/plain" /> <data android:mimeType="image/*" /> <!-- Any other mime types you want to support --> </intent-filter>
Seems like it is necessary and not done automatically by the lib.