alinz / react-native-share-extension

react-native as an engine to drive share extension
MIT License
762 stars 397 forks source link

Sharing from browser: real iOS device receives page title, simulators receive URL #197

Open poltak opened 4 years ago

poltak commented 4 years ago

Hi there.

We've set up our share ext in our iOS + Android app to be able to share pages from browser apps, then store a small document built from the URL received from this package.

Until now, testing on emulators, it's been working as expected. However, we just tried on a real iOS device for the first time via a Testflight build and, instead of receiving the page URL, it receives the page title.

What reasons would cause the page title to be sent instead of the URL? There doesn't seem to be any way in the API to specify this.

Bonus question: is there a way to receive both?

Will supply some more info on browser, OS version, etc. when I get them (I personally don't have an iOS device).

poltak commented 4 years ago

We've narrowed this down to something to do with sharing from Brave on iOS. Sharing from Safari on the same phone results in the URL being received. Brave only sends the title.

ajith-ab commented 4 years ago

i ve used this package with all new features with react native greater than 0.60 support react-native-receive-sharing-intent