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

Cannot send Intent.extra in ReceiveIntent.setResult #27

Open
PieroScalapay opened this issue Apr 23, 2024 · 0 comments
Open

Cannot send Intent.extra in ReceiveIntent.setResult #27

PieroScalapay opened this issue Apr 23, 2024 · 0 comments

Comments

@PieroScalapay
Copy link

Describe the bug
I want to close my app with the ReceiveIntent.setResult but I want to pass some extra back to the caller

This is my code:

      await ReceiveIntent.setResult(
        kActivityResultOk,
        data: {
          'STEP_UP_RESPONSE': 'approved',
        },
        shouldFinish: true,
      );
    }

Is this code ok? I guess the extra intent must be passed in the data map.

Thanks for the awesome package!

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