Skip to content

ist-group/react-native-icloud-user-token

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNICloudUserToken

Get the unique iCloud token for a user

Install

  1. npm install react-native-icloud-user-token --save
  2. Go to node_modulesreact-native-icloud-user-token and add RNICloudUserToken.m to your project
  3. 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);
});

or

ICloudUserToken.getTokenFromSuite('iCloud.com.some.container', function (err, token) {
  console.log('Error:', err, '\niCloud Token:', token);
});

About

Get the unique iCloud token for a user

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 59.9%
  • Ruby 30.2%
  • JavaScript 9.9%