Skip to content

v1.5.0

Compare
Choose a tag to compare
@smikhalevski smikhalevski released this 05 Feb 12:55
· 48 commits to master since this release
  • Biometric enrollment support for API >= 26.

  • Custom secret keys on-demand configuration.

  • Added operations scheduler.

  • Catch key not authenticated exception.

  • Return empty insets for detached views.

  • Removed LifecyclePlugin.

  • Moved lifecycle to ActivityPlugin and reduced it to background, foreground, and active:

activityManager.subscribe('background', () => {
  // Activity is now in the background
});
  • Added EventBridge.enable() that injects JS interface to the WebView.

  • Replaces ChainableEvent.tryRespond() with ChainableEvent.respond() which always executes block and posts an event.

  • EventBridge doesn't throw if event.requestId is -1.

Other changes

Events that throw an exception if the app is in the background

  • StartActivityEvent
  • StartActivityForResultEvent
  • SetBiometricEncryptedValueEvent
  • GetBiometricEncryptedValueEvent
  • EnrollBiometricEvent
  • FacebookLogInEvent
  • FacebookShareLinkEvent
  • GooglePayViewTokenEvent
  • GooglePayPushTokenizeEvent
  • GooglePayTokenizeEvent
  • GooglePayRequestSelectTokenEvent
  • GooglePayRequestDeleteTokenEvent
  • GooglePayCreateWalletEvent
  • GoogleSignInEvent
  • AskForPermissionEvent

API methods that share the same scheduler (calls are deferred until the preceding operation is completed)

  • activityManager.startActivityForResult
  • biometricEncryptedStorageManager.set
  • biometricEncryptedStorageManager.get
  • biometricManager.enrollBiometric
  • facebookLoginManager.logIn
  • facebookShareManager.shareLink
  • googlePayManager.viewToken
  • googlePayManager.pushTokenize
  • googlePayManager.tokenize
  • googlePayManager.requestSelectToken
  • googlePayManager.requestDeleteToken
  • googlePayManager.createWallet
  • googleSignInManager.signIn
  • permissionsManager.askForPermission