watermarkchurch / theporch-apollos

0 stars 2 forks source link

Update Android App to build on SDK 31 // Remove Campus Selection #206

Closed vinnyjth closed 1 year ago

vinnyjth commented 1 year ago

Upgraded to the latest possible versions of Apollos Packages, and convinced React Native v60 to build on Android 30

Some notes:

Building

I was able to build the app fine in Android Studio and Xcode w/ Rosetta. I did notice an issue that the Android app would fail to launch erratically, but it seemed only to impact development builds, and the issue existed in master for me.

Deploying

I did not test AppCenter or other deployment pipelines. I don't believe there should be any issues building on AppCenter, though. Happy to test and debug any issues that come up if it's relevant.

CleanShot 2023-04-04 at 14 50 50@2x
redreceipt commented 1 year ago

I can't get past this error for iOS about google cast

Screenshot 2023-04-21 at 11 07 23 AM
redreceipt commented 1 year ago

for android, it's not connecting to metro for me for some reason

Screenshot 2023-04-21 at 1 18 26 PM
redreceipt commented 1 year ago

@conrad-vanl if this builds fine for you, I think we can feel ok about it

vinnyjth commented 1 year ago

for posterity: the iOS error is solved by running Xcode is Rosetta. The Android error might be fixed by running adb reverse tcp:8081 tcp:8081

redreceipt commented 1 year ago

got it to build!

Screenshot 2023-05-09 at 6 01 59 PM
vinnyjth commented 1 year ago

Thanks @redreceipt!