-
Notifications
You must be signed in to change notification settings - Fork 25
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
await ReceiveIntent.setResult Not working #2
Comments
@sikandernoori The code snippet looks ok to me. Can you share logs? Maybe there could be some hint. Also if you could go through plugin code, to debug it would really help. |
Can you confirm that the "data" in the code is what you are calling it with. There are restriction to what "type" of data could be send, It has to be one of the following -> Check this function to know more -
|
I think maybe your Plugin is working Okay. Because I am using Two Plugins. 1- https://pub.dev/packages/intent. -> To StartIntent Activity using below Code.
This Functions open the the Intent App and in that App I am calling your plugin to send result back and finish Activity using below Code
Now Your Plugin Does Close the App and I get back to the Main App, but in Main App the data is not received -> |
Which plugin are you using to call the "AcitivtyForResult" ? |
|
|
The code (of While our plugin puts the data in |
Can you Suggest an alternative to get this working ? |
Opened a new issue regarding it #3. Feel free to file PR for it. |
Also, I am incorrect above, we put "data" in |
Thank You @daadu. It seems like the best forward is to write my own plugin for |
Hello @daadu
I am performing Intent using below Code which works fine.
The intent Open the App and after performing the Functionality I am calling your Plugin like below:
After this function App Closes and I am back to parent App from where I Launched the Activity but in result the data is not being showed.
Am i missing any additional parameter ?
The text was updated successfully, but these errors were encountered: