Skip to content

Customizing Dynamic Liveness notifications#

You can customize messages that are shown when a user performs blinking to fulfill the Dynamic Liveness estimation. For example, you can change:

  • Notification language
  • Fonts
  • Font colors
  • Background colors

In LUNA ID for Android#

To customize Dynamic Liveness notifications:

1․ Call LunaID.showCamera() with ShowCameraParams(disableInteractionTips=true).

2․ Subscribe to CameraOverlayDelegateOut.receive to receive interaction events.

3․ Implement your own camera overlay. For an example of creating an overlay, see LUNA ID Android Examples.

4․ Use the overlay to implement any logic to show or hide customized interaction tips wherever you like.

In LUNA ID for iOS#

To customize Dynamic Liveness notifications, use the func showNotificationMessage(_ newMessage: String) method of LMVideoStreamNotificationViewProtocol.