Reputation: 1734
I have used create react native app tool to create initial setup of the my app. With CRNA i used Expokit also. After ejecting CRNA into react-native init setup i couldn't use expo camera features. I'm getting below error while launching app in simulator ("undefined is not an object(evaluating 'ExponentConstants.linkingUri)"). How resolve and use expokit after the eject the application?
Upvotes: 2
Views: 2933
Reputation: 4188
Now you can use react-native-unimodules
If you create a React Native project through react-native init or with another tool like ignite-cli, then you’ll need to add the react-native-unimodules package to your project and configure it first: follow the instructions in the README.
See detail at expo blog.
Upvotes: 1
Reputation: 668
It's not possible yet, according with this answer in the Expo Forumn: https://forums.expo.io/t/react-native-init-expo-sdk/1903/2
Upvotes: 0
Reputation: 20788
After you eject from create-react-native-app
you need to use Git or another version control tool to go back. You can create a new project with create-react-native-app
, copy over your JS code, make sure it works, and then eject and this time choose the ExpoKit choice.
Upvotes: 0