Skip to content

Commit 8a099e2

Browse files
committed
fix(google-signin): use lower bit for requestCode
1 parent 2e115a5 commit 8a099e2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

-11 Bytes
Binary file not shown.

packages/google-signin/src-native/android/googlesignin/src/main/java/org/nativescript/plugins/googlesignin/GoogleSignIn.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class GoogleSignIn {
5252
}
5353
}
5454

55-
const val REQUEST_CODE_REQUEST_SCOPE = 610211
55+
const val REQUEST_CODE_REQUEST_SCOPE = 10211
5656
}
5757
}
5858

@@ -82,7 +82,7 @@ class GoogleSignIn {
8282

8383
return if (status != ConnectionResult.SUCCESS) {
8484
if (showPlayServicesUpdateDialog && availability.isUserResolvableError(status)) {
85-
val requestCode = 90210
85+
val requestCode = 210
8686
availability.getErrorDialog(activity, status, requestCode)?.show()
8787
}
8888
false
@@ -338,6 +338,6 @@ class GoogleSignIn {
338338
handler.post(runnable)
339339
}
340340

341-
const val REQUEST_CODE_SIGNIN = 610210
341+
const val REQUEST_CODE_SIGNIN = 10210
342342
}
343343
}

0 commit comments

Comments
 (0)