@oracle/react-native-pushiomanager
Advanced tools
Comparing version 6.48.1 to 6.48.2
{ | ||
"name": "@oracle/react-native-pushiomanager", | ||
"version": "6.48.1", | ||
"version": "6.48.2", | ||
"description": "React Native Module for Responsys Mobile SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -62,3 +62,3 @@ # React Native Module for Responsys SDK | ||
cd <your_react_native_app> | ||
yarn add https://github.com/oracle/pushiomanager-react-native.git | ||
yarn add @oracle/react-native-pushiomanager | ||
``` | ||
@@ -224,3 +224,3 @@ | ||
```javascript | ||
import PushIOManager from 'react-native-pushiomanager'; | ||
import PushIOManager from '@oracle/react-native-pushiomanager'; | ||
``` | ||
@@ -242,18 +242,18 @@ | ||
```javascript | ||
import { Platform } from 'react-native'; | ||
if (Platform.OS === 'android') { | ||
PushIOManager.registerApp(true, (error, response) => { | ||
```javascript | ||
import { Platform } from 'react-native'; | ||
if (Platform.OS === 'android') { | ||
PushIOManager.registerApp(true, (error, response) => { | ||
}); | ||
} else { | ||
PushIOManager.registerForAllRemoteNotificationTypes((error, response) => { | ||
}); | ||
} else { | ||
PushIOManager.registerForAllRemoteNotificationTypes((error, response) => { | ||
PushIOManager.registerApp(true, (error, response) => { | ||
}); | ||
}); | ||
} | ||
``` | ||
PushIOManager.registerApp(true, (error, response) => { | ||
}); | ||
}); | ||
} | ||
``` | ||
@@ -260,0 +260,0 @@ |
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
1059900