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?
Asked
Active
Viewed 2,905 times
3 Answers
1
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.

Aung Myat Hein
- 4,018
- 1
- 36
- 42
0
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.

ide
- 19,942
- 5
- 64
- 106
-
I couldn't use ExpoKit in react-native init. This is the problem i'm facing currently. – Sathya Oct 05 '17 at 07:12
-
I don't understand your question or the state of your repo. The CRNA documentation explains how you can create a new project and eject to ExpoKit. – ide Oct 05 '17 at 21:04
0
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

Julian Corrêa
- 638
- 12
- 25