Skip to content

fix(messaging): Activity registerForActivityResult is not a function #155

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

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

CatchABus
Copy link
Contributor

@CatchABus CatchABus commented Nov 7, 2022

This is a fix for what I described in issue #152 . It seems we call register() when activities get created so we have to take precautions for activities who do not support activity result API.

Still, I wonder if we should just ignore those activities or treat them differently.

Fixes #152 NativeScript/payments#19

@cla-bot cla-bot bot added the cla: yes label Nov 7, 2022
@Upd4ting
Copy link

Upd4ting commented Nov 9, 2022

Who is able to merge that? Would be awesome

@triniwiz triniwiz merged commit 94f93d2 into NativeScript:main Nov 9, 2022
@Upd4ting
Copy link

Upd4ting commented Nov 9, 2022

@triniwiz thank you for merging this. when do you think it will be released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[messaging] args.activity.registerForActivityResult is not a function
3 participants