Created
February 9, 2016 13:13
-
-
Save tgoldenberg/a9dcb6a5a2f873a92715 to your computer and use it in GitHub Desktop.
RN Index file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react-native'; | |
| import DeviceInfo from 'react-native-device-info'; | |
| let clientId = DeviceInfo.getUniqueID(); | |
| class gita extends React.Component{ | |
| componentDidMount(){ | |
| NativeModules.AnalyticsHelper.identify(clientId); | |
| } | |
| _login(){ | |
| NativeModules.AnalyticsHelper.login(clientId); | |
| } | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment