TRUSTED_WEB_ACTIVITY

A Trusted Web Activity based solution is used for displaying the content.

PROS:

  • integrates natively with Google Wallet and other on-device payment services (auto-fill, etc)

  • doesn't hava a standard toolbar at the top (e.g. CustomTabs variant), when run in trusted mode

  • allows for screen orientation locking, when run in trusted mode

  • supports for a smooth transition into the content (uses a customized background and a fade-out effect for this purpose)

CONS:

  • some features require the trusted mode to be active for them to work (see here)

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int