Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Loading Screen #74

Closed
patrickdemers6 opened this issue Aug 21, 2023 · 5 comments · Fixed by #75
Closed

Stuck on Loading Screen #74

patrickdemers6 opened this issue Aug 21, 2023 · 5 comments · Fixed by #75
Labels
bug Something isn't working

Comments

@patrickdemers6
Copy link
Owner

patrickdemers6 commented Aug 21, 2023

The app randomly breaks and gets stuck on loading screen. Clearing app data seems to fix the issue.

"When opening the app, it loaded to the map screen like normal but then jumped back to the loading screen."


Affected version: 1.2.0

Anyone able to reproduce, please share!

@patrickdemers6 patrickdemers6 added the bug Something isn't working label Aug 21, 2023
@RudyNahra
Copy link

I had this issue and it was fixed after a reinstall

@hcshires
Copy link

hcshires commented Aug 24, 2023

A reinstall didn't fix it for me on a Google Pixel 5 running Android 13.

MyState seems to be reporting "CyRide Prediction Issues" and is having very buggy bus tracking as of classes starting for this semester so my immediate guess is that Ames Ride is having trouble grabbing API information.

Not sure if this is on the CyRide API side of things or if Ames Ride needs to better handle API unresponsiveness.

@patrickdemers6
Copy link
Owner Author

The trend among reports I've received indicates the issue is with upgrade from 1.1.1 to 1.2.0. Clearing app data fixes the issue.

Hoping to reproduce the issue tonight and get a fix out soon.

@patrickdemers6
Copy link
Owner Author

patrickdemers6 commented Aug 24, 2023

I was able to reproduce by installing 1.1.1 and upgrading to 1.2.0. The issue boils down to the data from new backend having a string routeId whereas it was an integer before. When rendering favorite routes in the route selector, the app implodes. Working to get out a fix tonight!

The error message from adb logcat:

08-24 17:23:20.249 14872 14936 E ReactNativeJS: TypeError: Cannot read property 'route_long_name' of undefined
08-24 17:23:20.249 14872 14936 E ReactNativeJS: 
08-24 17:23:20.249 14872 14936 E ReactNativeJS: This error is located at:
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Portal.Host
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in v
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in B
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RNSScreen
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in y
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in f
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Suspense
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in _
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in c
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in c
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in O
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in f
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Suspense
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in _
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RNSScreenStack
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in ScreenStack
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in D
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in h
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in o
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RNCSafeAreaProvider
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in c
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Portal.Host
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in w
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Pr
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RecoilRoot
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in y
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Root
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in h
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in y
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Root
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in RCTView
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in Unknown
08-24 17:23:20.249 14872 14936 E ReactNativeJS:     in b, js engine: hermes

@patrickdemers6
Copy link
Owner Author

Thanks for your guys' help with reporting your experiences. Submitted to app stores for release 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants