pinballmap / pbm-react

PBM React Native: iOS & Android Apps
https://pinballmap.com/app
GNU General Public License v3.0
33 stars 9 forks source link

Bug: App Hanging on splash screen #518

Closed RyanTG closed 11 months ago

RyanTG commented 11 months ago

This is an intermittent issue. I cannot replicate it in a dev build - not even once.

In Sentry, I'm only seeing this affecting iOS. But I could be not seeing everything.

These are often coming through as separate Sentry errors (like, each affecting one user, rather than one issue affecting many users), though I'm not sure why.

The most common thing I'm seeing in the trace is PointAnnotation.feature.getter - and other mapbox Point Annotation notes.

But I don't know what the actual issue is. Markers not loading? I'm really unsure how to approach this.

Another possibility is that location isn't being obtained. I see AppleLocationProvider.accuracyAuthorization.getter in some of the errors.

RyanTG commented 11 months ago

None of the Sentry errors were for this issue. We flew blindly and found it was due to some kind of issue with Orientation Lock. fixed here https://github.com/pinballmap/pbm-react/commit/ff1b684a2ee1622d17ff0bf0d87f1834d8bfb3c2

RyanTG commented 11 months ago

Re-opening. This isn't resolved.

Seems to occur if I haven't opened the app in a while. No idea why.

RyanTG commented 11 months ago

The culprit was the expo-insights package. Removing it fixed the issue.