ongov / OpenVerify

The open source Verify app by the Government of Ontario
Apache License 2.0
121 stars 34 forks source link

App crashes in local simulator #23

Open snax4a opened 2 years ago

snax4a commented 2 years ago

Hello, I tried to run the app locally. I did: yarn run update:pods cp .env.template .env

after running yarn run ios app is opened in the simulator, splash screen pops up for 2 seconds, and then the app closes with the system problem report about unexpected app stop.

My IOS simulator version is: 13.1 My OS is macOS Monterey 12.0.1

The metro terminal is not displaying any error so I have no idea what may be wrong

MalikJumani commented 2 years ago

Hi @snax4a we looked into this and found that this issue is with iOS app only and Android app is working fine. The iOS app is crashing due to blank GOOGLE_APP_ID in GoogleService-Info.plist file. The user can temporarily disable analytics by commenting out line #53: [FIRApp configure]; in AppDelegate.m. We are working on a better way to handle this. In the meantime, this temporary fix should work.