alinz / react-native-share-extension

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

This library works in simulator, but not in real device, both iOS and android. #194

Open Karanbsankey opened 4 years ago

Karanbsankey commented 4 years ago

Business Scenario: I am trying to pull data from other application sources for e.g.: in case of pulling url link from browser in my react native application, using this share extension. It works with ios simulators only, but not on real devices, both android and iOS.

Issue description: Whenever trying to pull data from other applications (Sharing of data from other application to my app) app gets freeze for iOS. App crashes in the case of android devices.

Current status: Following is the environment we are testing on for share extension and we are facing this issue : android simulator: Pixel 3 (android pie). android real devices with android version from marshmallow to pie. iOS simulator : iPhone X, iPhone 11 and 11 pro. iOS real devices: iPhone 6s and iPhone 6s+, iPhone X. . . react native: version - 0.61.4 share extension: version - 2.0.0 . . Even though we have implemented all the steps as mentioned above and gone through the implementation again and again it seems correct, but not able to make it working on real devices. If anyone has faced similar issue, please do provide more insights on the same. Thanks in advance.

SafdarSikander commented 4 years ago

Same problem here... share option is not showing on real devices whereas it is showing on the simulator .

guri3 commented 4 years ago

I have the same problem.

dabakovich commented 4 years ago

@Karanbsankey Do you have any updates on the issue?

Karanbsankey commented 4 years ago

I have made some changes and its working for me... i will share them with you sooner

Karanbsankey commented 4 years ago

@Karanbsankey Do you have any updates on the issue?

yes some changes i hv done

Karanbsankey commented 4 years ago

I have the same problem.

are you able to solve it ?

flo-wolf commented 4 years ago

@Karanbsankey Will you share your fix?

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

anasalsaadi14 commented 3 years ago

I have the same problem. any updates ?

moseffect21 commented 2 years ago

Guys, try to change share extension version and version to version of main app, maybe it is solution of yours problem