React Native UUID
react-native-uuids
is a simple library to create Native RFC-4122 V4 UUIDs.
The package is both Android and iOS compatible.
Getting started
yarn add react-native-uuids# or with npm npm install react-native-uuids
Mostly automatic installation
For React-Native >= 0.60 this module will be linked automatically.
cd ios && pod install
Before 0.60 react-native-uuids
can be manually linked.
react-native link react-native-uuids
Usage
;;; const Home: => { const uuid setUuid = ; if !uuid UUID; return <Text>uuid</Text>;}; ;