Open maftuh-lab opened 3 years ago
+1
+1
Figured out that whatsapp exports array of files instead of single file. This library is great, but may be not covered all specific needs.
Using react-native-share-menu
i can catch whatsapp export.
Of course you need explicitly accept multiple file types in AndroidManifest.xml
.
Something like this
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<action android:name="android.intent.action.SEND_MULTIPLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<!-- <data android:mimeType="image/*"/> -->
<!-- <data android:mimeType="video/*"/> -->
<data android:mimeType="text/*" />
<!-- <data android:mimeType="*/*" /> -->
</intent-filter>
hello, I spent many hours trying to make it work on iOS and nothing, until I got it to work, I read that it was a problem with the group.name, simply I opened the file "ShareViewController.swift", search and replace all values that said
"group.\(this.hostAppBundleIdentifier)"
and I set them manual
"group.com.myappidname"
and that solved the problem and no longer gives more error [Error: file type is Invalid] iOS
Hi, thank you for this great library. It's stright forward and very easy to use.
This library works well on my app. Any other file or text recieved perfectly. But when im trying to export whatsapp chat to my app, the app can listen to the event and nothing crashed. But the code return
To be more clear, below are the scenario