You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Refactor initial database creation to avoid SQLITE_CANTOPEN exception #10796
But iOS developers that have exception breakpoints enabled frequently interpret this as a crash, not realizing it’s recoverable. See #9761, #10264, #10789, #11479, #11863, etc.
Using exceptions for flow control is unusual in iOS development and seeing an apparent crash the first time a developer tries to integrate our SDK is a bad/discouraging experience that we should endeavour to prevent.
For searchability, here’s what an iOS developer will see in the console on the first run of an app:
2018-03-19 13:23:08.879582-0400 Mapbox GL[936:453383] [INFO] {com.mapbox.mbgl.DefaultFileSour}[Database]: cannot open file at line 40840 of [2b0954060f] (Code 14)
Activity
friedbunny commentedon Mar 19, 2018
For searchability, here’s what an iOS developer will see in the console on the first run of an app: