titanium-crashlytics icon indicating copy to clipboard operation
titanium-crashlytics copied to clipboard

Crashlytics not be logged on iOS platform

Open ASankey-Ideagen opened this issue 3 years ago • 9 comments

Same issue as reported in https://github.com/hansemannn/titanium-crashlytics/issues/50 which had been closed. Re-opening as this still doesn't work on iOS with the latest version v4.4.0. See my comment https://github.com/hansemannn/titanium-crashlytics/issues/50#issuecomment-1168502886

This has been tested with an AdHoc build of the application running on an iPhone 11 device forcing a crash to occur whilst the app is running. No crash logs have yet been recieved on the Firebase Crashlytics dasboard.

Titanium setup:

Ti SDK:               10.1.1.GA
Alloy:                2.0.1
iOS:                  15.5 - iPhone 11 device
Xcode:                13.4.1
Firebasecore:         7.2.0 
FirebaseAnalytics:    6.2.0
FirebaseCrashlytics:  4.4.0

ASankey-Ideagen avatar Jul 07 '22 13:07 ASankey-Ideagen

Is it only happening for ad-hoc builds?

hansemannn avatar Jul 07 '22 13:07 hansemannn

Had no crashlytics for any builds we've tried on iOS. AdHoc was used to test on a production build.

ASankey-Ideagen avatar Jul 07 '22 13:07 ASankey-Ideagen

If you only used adhoc for the production builds, I know whats the issue. It's that we only check for "production" here

hansemannn avatar Jul 07 '22 16:07 hansemannn

Not sure I understand, an AdHoc build is a production build. Only difference is that it is signed to work on registered devices. This shouldn't affect the underlying code or how it behaves.

ASankey-Ideagen avatar Jul 08 '22 07:07 ASankey-Ideagen

We have a CLI hook that checks different deploy types, so I was wondering if it may be skipping a dist-adhoc vs dist-appstore build. But if you don't see the log Skipping Crashlytics injection for non-production build …', it must be something else, though I am sure it's something in your setup, because most of the people use it without issues.

hansemannn avatar Jul 08 '22 08:07 hansemannn

Could it be an issue with Alloy based apps? I created a fresh Alloy app with only the Firebase modules and crashlytic modules included, following the setup instructions here and still got nothing coming through.

ASankey-Ideagen avatar Jul 08 '22 08:07 ASankey-Ideagen

We use Alloy as well, so it should be fine. Did you review the README to have the correct structure?

hansemannn avatar Jul 08 '22 08:07 hansemannn

Yes, app is setup exactly as instructed in the README.

ASankey-Ideagen avatar Jul 08 '22 09:07 ASankey-Ideagen

Got the same issue with latest version on classic app -- no errors reported in app or log entries for CA and nothing sent through to firebase -- this is on simulator.

jasonkneen avatar Mar 14 '23 15:03 jasonkneen