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

[android_intent_plus] Possibility to get results from an intent #344

Closed
Kerenok opened this issue Jul 5, 2021 · 5 comments
Closed

[android_intent_plus] Possibility to get results from an intent #344

Kerenok opened this issue Jul 5, 2021 · 5 comments
Assignees
Labels
android_intent_plus question Further information is requested

Comments

@Kerenok
Copy link

Kerenok commented Jul 5, 2021

Scanning the code and the example, it seems that getting results from an intent is not currently supported (for example result from a SCAN action for a barcode scanner intent).

Is it possible to extend the plugin in a Flutter application to use invokeMethods on _channel and get back some data?

@Kerenok Kerenok added the question Further information is requested label Jul 5, 2021
@mhadaily
Copy link
Member

mhadaily commented Jul 6, 2021

@miquelbeltran can you advise here?

@miquelbeltran
Copy link
Member

The plugin does not support this functionality. The way the plugin works would need to be changed considerably to use startActivityForResult instead of startActivity and capture and return results, similarly to what the image_picker does.

@Kerenok
Copy link
Author

Kerenok commented Jul 17, 2021

Thanks for the response. I'll check the image_picker code.

@miquelbeltran miquelbeltran self-assigned this Aug 13, 2021
@varunbhalerao56
Copy link

Hey, any updates on this? I am opening another app where the user needs to press login to verify their identity (using government API). Once the user presses login it returns me back to my app. The problem is that once the user has pressed login a link should be generated but I am not able to capture the link with the auth token.

@miquelbeltran
Copy link
Member

You will have to implement this by yourself, it is not the intended functionality of the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android_intent_plus question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants