Skip to content

adrian-koczen/react-native-unique-identifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

yarn add react-native-unique-identifier

Expo

Update app.json

"plugins": [["react-native-unique-identifier/plugin"]]

Bare react native

  1. Open project in XCode
  2. Signing & Capabilities
  3. Click "+ Capability" button
  4. Search and select iCloud (now you should see a new capability in "Signing & Capabilities" list)
  5. Check CloudKit checkbox in services
  6. Add app bundle name using "+" button in Containers

Usage

Function Response Platform Description
getiCloudRecord Promise<string> iOS iCloud record
getGoogleAccountName Promise<string> Android google email name

About

Unique identifier based on iCloud for iOS, and email name for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published