Skip to content

Cannot send Intent.extra in ReceiveIntent.setResult #27

@PieroScalapay

Description

@PieroScalapay

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions