how can i get imei number


How can i get imei number ?

I don’t believe this is possible in Expo without ejecting.

Expo has a Device module, but it does not give access to the IMEI as far as I can see.

There is a react-native-imei library, but this would require you to eject and only works on Android. Read the info at the bottom of the page about Google Play and iOS.

EDIT: This looks like it should work (on Android) when you build with EAS Build. So you should not have to eject.