react-native-send-intent icon indicating copy to clipboard operation
react-native-send-intent copied to clipboard

Is possible get result from the external app?

Open polinello-zz opened this issue 4 years ago • 0 comments

Hi!

this library could be very helpful for me; I'll explain my use case:

In my React Native app I want do something by calling an external app and passing data, so I would call openAppWithData("com.external.app", data) but I want to get response from the external app too, so in my old native scenario I implemented this:

val intent = Intent() try { intent.setClassName(appPackageName, className) intent.data = Uri.parse(url) intent.action = Intent.ACTION_VIEW startActivityForResult(intent, 0)

and then handle the result by onActivityResult method

So I want to do something similar... can you help me? May I do use other library in order to do this?

Thank you

polinello-zz avatar Jan 22 '21 17:01 polinello-zz