analytics-react-native
analytics-react-native copied to clipboard
identify & reset
The mobile clients and the web client provide identify and reset functions to, among other things, handle the anonymous ID. Would it be possible to implement those extensions to this library as well? They can be backed by AsyncStorage for persistency. I'd be happy to contribute.
@carlos-peru
I'm currently handling this with a saga. Generating and id with react-native-unique-id
for anonymous users and using alias
method once we identify the user. But yeah, feel free to send a pull request if you have a better solution :)