At times when you'll want to put into action some native features into your application, you will have to eject from Expo and go back to React Native CLI. and you will in no way revert it back to Expo CLI.
this text https://macieohac479031.ampedpages.com/5-simple-techniques-for-javascript-react-native-56907916