Skip to content

DeviceSettingsRequest Android only

export interface DeviceSettingsRequest {

Returned by a DeviceSettings request — describes which settings screen to show and whether the user has already been prompted.

Contains device metadata (manufacturer, model, version) and a seen flag so you can avoid showing the same screen repeatedly. Pass this object to DeviceSettings.show to redirect the user.


Members

action

action: string;

The Android Intent action used to open the target settings screen.

Warning

This field is set automatically by the native layer. Do not set it manually.

lastSeenAt

lastSeenAt: Date;

Timestamp of the last time this screen was shown to the user.

manufacturer

manufacturer: string;

Device manufacturer (e.g. "Huawei", "Samsung").

model

model: string;

Device model name (e.g. "P40", "SM-G991B").

seen

seen: boolean;

true if this settings screen has already been shown to the user on this device. Use this to avoid showing the same prompt repeatedly.

version

version: string;

Android OS version string.