js-bao-wss-client / RegisterPushDeviceParams
Interface: RegisterPushDeviceParams
Parameters for notifications.registerDevice(): the device push token, its platform and environment, and optional device details.
Properties
appVersion?
optionalappVersion?:string
bundleId?
optionalbundleId?:string
deviceName?
optionaldeviceName?:string
environment
environment:
"sandbox"|"production"
APNs sandbox vs production; FCM has no sandbox — use "production".
platform
platform:
"ios"|"macos"|"android"
token
token:
string
APNs hex device token or FCM registration token.