rokwire / illinois-app

Source code repository of "Illinois" App - the official mobile app of the University of Illinois.
https://app.illinois.edu/
Apache License 2.0
23 stars 21 forks source link

[BUG] The prod 6.0.22 version of the app pulled from TestFlight on 07-July-2024 has crashed 17/22 times when opening #4220

Closed andreweads closed 4 months ago

andreweads commented 4 months ago

The prod 6.0.22 version of the app pulled from TestFlight on 07-July-2024 has crashed 17/22 times when opening. This occurs whether opening the app from TestFlight or opening the app on its own.

To Reproduce Steps to reproduce the behavior:

  1. Pull the latest build (6.0.22) from TestFlight
  2. Once installed, open the TestFlight app and tap on the Open button OR Once installed, tap on the app icon to open the app

Expected behavior The app should not crash when opened.

Smartphone (please complete the following information): Device: iPhone 14 OS: iOS 17.5.1 App Version: Version 6.0.22 (2122)

Additional context When the app crashes, I receive a pop-up box saying "Illinois" Crashed. I have hit the Share button on that pop-up many times for these crashes and then the Submit button. Additional information for my phone, if it's helpful for those crash logs:

Model Number: MPUA3LL/A Serial Number: LYVHVK00TN AppleID: aeads@illinois.edu

andreweads commented 4 months ago

I have launched the 6.0.22 dev and prod APKs on my Pixel 8a and haven't encountered any crashes. I haven't launched these as many times, probably 2-4 times each, but no issues so far.

mihail-varbanov commented 4 months ago

It never crashed on iOS 17.3 for me. After upgrading to iOS 17.5, I was able to recreate the crash only for the TestFlight build but not at 100%. Debug or internal distribution builds never crashed for me.

The logs showed that it happens in the Firebase initialization on application startup. The research showed that this is a known problem, a bug in the Firebase library, that was fixed in version 10.22.0 a few months ago.

What I did was to upgrade all Firebase libraries to their latest versions (they depend on each other so they all go together). We need to test version 6.0.24 on TestFlight to see if this has resolved the problem.

@clint156, @yoonlees ^

clint156 commented 4 months ago

Uploaded 6.0.24 to testflight. After updating my device to 17.5.1, i was able to go through the onboarding process and open the app multiple times without experiencing the crash. I am waiting to see if anyone else reports crashes.

mihail-varbanov commented 4 months ago

Re: University Monday 2024/07/08 / 2024-07-11

3.1 Looks like your iOS fix worked