ashley-lizbeth / Soma

Old prototype for a mobile app made to facilitate messaging between students and teachers
Apache License 2.0
0 stars 1 forks source link

Create tutorial to test the application: Android Studio, or Phone #3

Open airvzxf opened 9 months ago

airvzxf commented 9 months ago

I suggest having a tutorial to run the application. I spent a few hours and I don't get the application on my phone using Expo Go.

airvzxf commented 9 months ago

Trying to use Expo Go, I got this error:

› Choose an app to open your project at http://192.168.0.186:8082/_expo/loading
› Metro waiting on exp://192.168.0.186:8082
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)

› Using Expo Go
…
Press a │ open Android
…
› Opening on Android...
› Launching in Expo Go. If you want to use a development build, you need to create and install one first, or, if you already have a build, add ios.bundleIdentifier and android.package to this project's app config.
Learn more: https://docs.expo.dev/development/build/
› Opening exp://192.168.0.186:8082 on Mi_9T
› Press ? │ show all commands
[GraphQL] Entity not authorized: AccountEntity[48b0f4f9-cce2-466a-910a-11161846d6a5] (viewer = RegularUserViewerContext[975f6252-8409-483d-8eea-ac0b588071d2], action = READ, ruleIndex = -1)

Trying to use Android Studio, I got this error:

› Metro waiting on exp+soma://expo-development-client/?url=http%3A%2F%2F192.168.0.186%3A8082
› Scan the QR code above to open the project in a development build. Learn more: https://expo.fyi/start

› Using development build
…
Press a │ open Android
…
Logs for your project will appear below. Press Ctrl+C to exit.
› Opening on Android...
CommandError: Required property 'android.package' is not found in the project app.config.ts. This is required to open the app.
ashley-lizbeth commented 9 months ago

Added a new section to the README on how to run the application using Expo Go, Android Studio pending