Remove biometric prompt (will implement properly with token-based auth later)
This commit is contained in:
parent
e1ce374809
commit
79fee2d4f2
1 changed files with 0 additions and 10 deletions
|
|
@ -39,16 +39,6 @@ public class MainActivity extends BridgeActivity {
|
||||||
// Setup WebView mic permission granting
|
// Setup WebView mic permission granting
|
||||||
setupWebViewPermissions();
|
setupWebViewPermissions();
|
||||||
|
|
||||||
// Show biometric prompt if available and user has used the app before
|
|
||||||
SharedPreferences prefs = getSharedPreferences("pedscribe", MODE_PRIVATE);
|
|
||||||
boolean hasLaunched = prefs.getBoolean("has_launched", false);
|
|
||||||
if (hasLaunched) {
|
|
||||||
showBiometricPrompt();
|
|
||||||
} else {
|
|
||||||
prefs.edit().putBoolean("has_launched", true).apply();
|
|
||||||
biometricDone = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Register JS interface for foreground service control
|
// Register JS interface for foreground service control
|
||||||
setupRecordingBridge();
|
setupRecordingBridge();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue