react-native-icloud-user-token
v0.1.0
Published
Get the unique iCloud token for a user
Downloads
4
Maintainers
Readme
RNICloudUserToken
Get the unique iCloud token for a user
Install
npm install react-native-icloud-user-token --save
- Go to
node_modules
➜react-native-icloud-user-token
and addRNICloudUserToken.m
to yout project - Run your project (
Cmd+R
)
##Usage##
//Require the module
var ICloudUserToken = require('react-native-icloud-user-token');
ICloudUserToken.getToken(function (err, token) {
console.log('Error:', err, '\niCloud Token:', token);
});