Skip to content

Commit

Permalink
2.4.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Аво committed Feb 25, 2022
1 parent 3a30885 commit ebb6759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MatiPluginFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware

override fun onAttachedToActivity(binding: ActivityPluginBinding) {
binding.addActivityResultListener { requestCode, resultCode, data ->
if (requestCode == MetamapSdk.REQUEST_CODE) {
if (requestCode == MetamapSdk.DEFAULT_REQUEST_CODE) {
if (resultCode == Activity.RESULT_OK) {
val result = data.getStringExtra("ARG_VERIFICATION_ID") +" "+ data.getStringExtra("ARG_IDENTITY_ID")
channel.invokeMethod("success", result)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: mati_plugin_flutter
description: Flutter plugin for Mati SDK.

version: 2.4.19
version: 2.4.20
homepage: 'https://github.com/GetMati/mati-flutter-plugin'

environment:
Expand Down

0 comments on commit ebb6759

Please sign in to comment.