Proposed way for onActivityResult (Capacitor 6) #7708
Unanswered
vladanneon
asked this question in
Q&A
Replies: 1 comment
-
You can check Capacitor 2.x docs, that should still work despite it's deprecated: But use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How would you implement onActivityResult inside a Capacitor 6 plugin?
Docs mention that the preferred way is to use startActivityForResult but SDK that I want to integrate mentions onActivityResult
If you take a glance at the SDK source code, you could see that the SDK itself calls:
this.callingActivity.startActivityForResult(this.startIdIntent, 2);
during the
IDnowSDK.getInstance().start(IDnowSDK.getTransactionToken());
How would you capture ActivityResult and return the result from the plugin back to the app?
Beta Was this translation helpful? Give feedback.
All reactions