Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShareMenuReactView.continueInApp causes origin app to freeze #282

Open
ajyang818 opened this issue Nov 6, 2023 · 0 comments
Open

ShareMenuReactView.continueInApp causes origin app to freeze #282

ajyang818 opened this issue Nov 6, 2023 · 0 comments

Comments

@ajyang818
Copy link

I've implemented this library in my React Native app, and have also implemented the steps for SHARE_EXTENSION_VIEW code, in a way which will cause any share intent to directly open my app, as per this Stack Overflow answer. Notably, this is done via ShareMenuReactView.continueInApp({shareInfo: data});

This flow works great:

  • From another app on the phone, click the Share button
  • The iOS Share drawer opens up
  • I select my RN app from the choices
  • It opens up my app (the whole app, not just a view), with the link / photo / etc. that I want to share in my app. My app can work just fine from there

But, when I return to the origin app, it's frozen - I have to force stop it and restart it. In my testing, it seems that both the NY Times and Wikipedia apps freeze, but interestingly Yelp, the Economist, and Chrome do not. I don't have another app on my phone that has the behavior of completely opening the destination app, so hard to tell if NY Times and Wikipedia would also freeze with those.

Is this likely an issue with my app, or with the origin app? Any tips on how to debug further?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant