I want to get the shared text from other apps, I refer to this article, use intent-filter but it is not so smooth, I found that I need to get the intent from onCreate or onNewIntent to process, but the problem is that createReactActivityDelegate and getLaunchOptions always take precedence Execution, I can't get the intent and then pass it to React Native. Am I missing something? Or is there another way to replace the intent-filter, and I plan to use the share extension for iOS. Is this suitable for react native? Thanks in advance.
Q:
- createReactActivityDelegate and getLaunchOptions always execute before onCreate and onNewIntent, so I can not send the intent to React Native.
- I plan to use the share extension for iOS. Is this suitable for react native?
- Is there another way to replace the intent-filter and share extension?