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

Firebase Crash Reporting OR Crashlytics? #524

Closed
pvandrunen opened this issue Jan 5, 2018 · 8 comments
Closed

Firebase Crash Reporting OR Crashlytics? #524

pvandrunen opened this issue Jan 5, 2018 · 8 comments

Comments

@pvandrunen
Copy link

pvandrunen commented Jan 5, 2018

I'm using firebase solely for the purpose of crash reporting, we've already implemented a myriad functions (notifications, analytics, etc) using other plugins/services.

Can someone walk me through the steps of getting this running on my ionic/cordova app?

What I've done thus far:

  1. Install plugin
  2. Add .plist file
  3. run $ ionic cordova prepare ios
  4. Added this code, which made my "firebase not setup" error message in the log go away
    #import <FirebaseCore/FIRApp.h>
    [FIRApp configure];

In the firebase website/console my only option is to setup Crashlytics.

Do I need to do something with cocoa pods? Do I need to download an configure symbol file so that I can get readable crash reports? Do I need to make the app crash? Do I need to install the firebase SDK?

I'm not seeing anything on the firebase website that indicates I have crashlytics or crash reporting setup. Analytics is populated with some stuff. No error messages in the console.

Also, when this plugin is installed I get a pop-up that asks for a password [Environment: Sandbox] It seems like it's triggering a bunch of in-app purchase code that we've temporarily disabled — I haven't looked into that yet.

@pvandrunen
Copy link
Author

Additional information, in iOS I see bugs in the debug panel, but they are truncated, only show the first few characters. They don't show up anywhere else.

window.onerror = function(message,url,line){
      FirebasePlugin.logEvent(`${message}, ${url}, ${line}`);
    };

@rgbsuede
Copy link
Contributor

Also watching this issue... Same problem, except on Android. No indication that I'm set up whatsoever, but promises return success messages. I just can't see anything in the Firebase console.

@jcyh0120
Copy link

Want to know this, too.

@pvandrunen
Copy link
Author

@joshbabb @jcyh0120 I've abandoned firebase and moved to rollbar for my ionic/cordova app. Setup was lightening fast and we're so relieved to finally have reporting on iOS and Android.
This supports javascript error reporting, we're now paying customers. https://rollbar.com

@jcyh0120
Copy link

@pvandrunen thanks! For hybrid app like ionic, it's always confusing to use Javascript SDK or Native SDK with cordova. Any suggestion for using rollbar with ionic using JS/Native SDK?

@pvandrunen
Copy link
Author

@jcyh0120 Why not both!?
I have both the ng-rollbar installed and the cordova plugin. Javascript is very useful but I kinda forgot that I had installed the cordova plugin, I never was able to simulate a crash. I seem to get pretty comprehensive reports in rollbar, I couldn't say if the cordova plugin has much to do with the reports that I'm seeing. Sorry I can't be more help.

@jcyh0120
Copy link

@pvandrunen Great idea! I've been using Firebase CrashReport to log my JS error. But it's really not that handy for JS. I never think of using both before. They have different roles. Maybe I should log my JS error with ng-rollbar and log my crash with native SDK. Thanks for reply.

@soumak77
Copy link
Contributor

soumak77 commented May 2, 2018

closing in favor of #548

@soumak77 soumak77 closed this as completed May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants