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

Is possible get result from the external app? #135

Open
polinello-zz opened this issue Jan 22, 2021 · 0 comments
Open

Is possible get result from the external app? #135

polinello-zz opened this issue Jan 22, 2021 · 0 comments

Comments

@polinello-zz
Copy link

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

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