Convert Expo project to Original RN App
See original GitHub issueI did yarn run eject
to eject but it gave me this warning
Warning! We found at least one file where your project imports the Expo SDK
I know I have some modules which use Expo API like this -
await Expo.Font.loadAsync({
Roboto: require('native-base/Fonts/Roboto.ttf'),
Roboto_medium: require('native-base/Fonts/Roboto_medium.ttf'),
});
Now I want to convert this to React Native Components so that I can eject without any errors so that I get
index.android.js
& index.ios.js
in the root folder like we do while using react-native init example
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Convert Expo project to Original React Native project
After 4 hours, I got the answer.. Had to install exp using npm i -g expo & then used expo eject to detach...
Read more >Being free from “expo” in React Native apps - Medium
We're going to build an app using the command create-react-native-app RNwithExpo . It'll install everything for you and will run the project pretty...
Read more >Ejecting to ExpoKit - Expo Documentation
The following steps are for converting a pure-JS Expo project (such as one created with Expo CLI) into a native iOS and Android...
Read more >Convert Expo project to Original RN App · Issue #276 - GitHub
Now I want to convert this to React Native Components so that I can eject without any errors so that I get index.android.js...
Read more >Move your development from Expo to React-Native the right way
You will need to follow these steps so that an ExpoKit project can work properly: · Start the bundler using `exp start` ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After 4 hours, I got the answer… 😋 Had to install
exp
usingnpm i -g exp
& then usedexp detach
to detach the project Also I added some fields inapp.json
for it to work as followsDocs are given here
SideNote: It doesn’t create the folder structure like when done using
react-native init
… It createsandroid
&ios
folders respectively.@deadcoder0904 , what about size of apk? like its normal expo size apk of 25 mb or less