Ruthvik-1411 / Finance_Tracker_app

Basic finance tracker for personal use
0 stars 0 forks source link

Streamlining expo go build #22

Closed Ruthvik-1411 closed 3 months ago

Ruthvik-1411 commented 3 months ago

Context:

Issue:

  1. Before the eas build and during development phase, to quickly build and test the app in native environment, expo go was used. Simple npx expo start would start the build and using the expo go app, the app would start on the device after bundling.
  2. Now, after the eas build was done, running npx expo start would start a development build instead of a expo go build. To start a development build another development build app is required and process got complicated.
  3. In the options after npx expo start, there is another option to start as "expo go" build. When used, an expo go build was built and using the app, we have to scan the QR. Previously, clicking on link displayed in app would start the process.
    • But after scanning the app, it would take to another local server site to select the build type to access, as development or expo go.
  4. This has made the process more complicated and adds too many unnecessary steps. Had to scan the QR and choose the build again.
Ruthvik-1411 commented 3 months ago

Debugging:

  1. Related stackoverflow thread: /why-does-my-expo-app-run-in-expo-go-but-not-as-a-development-build
  2. Expo build docs: Side effects of expo build

Solution:

This has resolved the issue and changes have been made in another PR.