@oracle/react-native-pushiomanager
Advanced tools
Comparing version 6.48.2 to 6.48.3
16
index.js
@@ -549,2 +549,18 @@ /* | ||
} | ||
static setDelayRegistration(delayRegistration) { | ||
if (Platform.OS === 'android') { | ||
console.log("API not supported"); | ||
} else { | ||
RCTPushIOManager.setDelayRegistration(delayRegistration); | ||
} | ||
} | ||
static isDelayRegistration(callback) { | ||
if (Platform.OS === 'android') { | ||
console.log("API not supported"); | ||
} else { | ||
RCTPushIOManager.isDelayRegistration(callback); | ||
} | ||
} | ||
} |
{ | ||
"name": "@oracle/react-native-pushiomanager", | ||
"version": "6.48.2", | ||
"version": "6.48.3", | ||
"description": "React Native Module for Responsys Mobile SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -255,5 +255,13 @@ # React Native Module for Responsys SDK | ||
} | ||
``` | ||
``` | ||
- Additional APIs (optional) | ||
iOS Only: | ||
- You can delay registration while app is launching or coming to foreground by implementing below API. | ||
``` | ||
// Implement before `registerForAllRemoteNotificationTypes` calls. | ||
PushIOManager.setDelayRegistration(true); | ||
``` | ||
### User Identification | ||
@@ -260,0 +268,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1060970
470
372