Constructs a push configuration object.
Optional
params: { Optional
deviceOptional
deviceOptional
deviceThe device ID. For FCM, the field is the user ID of the push notification sender. For APNs, this field is the certificate name of the push service.
Optional
deviceThe device token. The device token is indicated in the callback or method provided by the push vendor. For details, see the push SDK instructions of the respective push vendors.
Optional
manufacturerThe device vendor. See Platform.constants.Manufacturer
The push configuration class.
For Google Firebase Cloud Messaging (FCM), see {@url https://firebase.google.com/docs/cloud-messaging/concept-options}. For the Apple Push Notification service (APNs), see {@url https://developer.apple.com/documentation/usernotifications}. For platform information of React Native, see {@url https://reactnative.dev/docs/platform}. For example:
console.log('android: ext: ', Platform.OS, (Platform as any).constants);
Print result: