We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c83c6b1 commit c880081Copy full SHA for c880081
packages/auth/android/src/main/java/io/invertase/firebase/auth/ReactNativeFirebaseAuthModule.java
@@ -1457,8 +1457,10 @@ public void generateTotpSecret(
1457
task -> {
1458
if (task.isSuccessful()) {
1459
TotpSecret totpSecret = task.getResult();
1460
+ String totpSecretKey = totpSecret.getSharedSecretKey();
1461
+ mTotpSecrets.put(totpSecretKey, totpSecret);
1462
WritableMap result = Arguments.createMap();
- result.putString("secretKey", totpSecret.getSharedSecretKey());
1463
+ result.putString("secretKey", totpSecretKey);
1464
promise.resolve(result);
1465
} else {
1466
promiseRejectAuthException(promise, task.getException());
0 commit comments