lumitor2

Results comments of lumitor2

@aashishvyas Have you tried this again after build on device? Fabric plugin was unavailable in browser for me.

@sarriaroman try to use (window).fabric.Crashlytics for TypeScript

@blueror815 have you tried to put this in your tsconfig.json file? ` "files": [ "plugins/cordova-fabric-plugin/typings/cordova-fabric-plugin.d.ts" ] `

@aashishvyas Fabric library (in fabric variable) is available after you build your app to real device / simulator. You can try (window).fabric.Crashlytics.sendCrash(); to invoke app crash and see records in...

@blueror815 Yes. You can access it on device only. So there is no global fabric variable accessible in ionic serve (in browser view). You can even add it before actual...

@aashishvyas nice to hear that! :) @blueror815 For Ionic app there is only one installation and no need to do anything more for each platform. Your API_KEY and API_SECRED can...

@aashishvyas you can make your own ErrorHandler which extends IonicErrorHandler: https://github.com/sarriaroman/FabricPlugin/issues/61#issuecomment-306403667

@aashishvyas I hope, that crash will appear in Fabric dashboard because of triggers in native code. You cand send only non-fatal errors. So you have to filter these in dashboard.

You can make folder in src/ (for example handlers).. Afterwards add it to app.module.ts to this line: ` providers: [ { provide: ErrorHandler, useClass: YOURErrorHandler },`

There is no difference, if you put it in folder od directly to app.module.ts.