1

Iam new to react native and expo, while using an expo API in react-native project I got a warning "Constants.installationId has been deprecated in favor of generating and storing your own ID. Implement it using expo-application's androidId on Android and a storage API such as expo-secure-store on iOS and localStorage on the web. This API will be removed in SDK 44."

And I got a solution for this from expo forum

But I can't figure out how to apply this solution to my project.

Rashid Rcp
  • 11
  • 2
  • Here is another discussion of same topic https://stackoverflow.com/questions/46863644/expo-get-unique-device-id-without-ejecting/68553627#comment121161071_68553627. You should store generated id SecureStore. – Michael Bahl Sep 06 '21 at 08:44

1 Answers1

-1

it depends of your cenario. But you can simply implement it on the first page of your application. Depending of your case you'll need to save it on secure local storage if you provide more infos bout your project I could help better.

I'm just newer in react native too, but I can help ya.