emilyemorehouse / cordova-plugin-rollbar Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi @emilyemorehouse ,
I've been jumping around between blogs, docs, support and repo's trying to get a clear picture of which version/method of this plugin I'm supposed to be installing so that I can see native iOS crash reporting.
I'm working on an ionic v1 project, javascript is working great 👍 but I'm not seeing crashes reported. Here's what I've done thus far:
$ionic cordova plugin add https://github.com/emilyemorehouse/cordova-plugin-rollbar.git --variable ROLLBAR_ACCESS_TOKEN="<my token>" --variable ROLLBAR_ENVIRONMENT="production" --nofetch
$ionicPlatform.ready(function() {
//Crash reporting
window.cordova.plugins.Rollbar.init();
//Trigger a crash 10 seconds after launch
setTimeout(function(){
window.cordova.plugins.Rollbar.simulateCrash();
}, 10000);
});
There are no error messages and the app DOES crash.
ALSO, there is a version of the plugin with an 's', installation fails when I try to run
ionic cordova plugin add https://github.com/emilyemorehouse/cordova-plugins-rollbar.git --variable ROLLBAR_ACCESS_TOKEN="<my token>" --variable ROLLBAR_ENVIRONMENT=“production”
I get this error message:
Failed to install 'cordova-plugin-rollbar': CordovaError: Uh oh!
"<Project folder>/plugins/cordova-plugin-rollbar/src/android/cordova/plugins/CDVRollbar.java" not found!
I have an older cordova application (not ionic/angular) just plain old JS using some legacy jquery-mobile stuff. I followed your instructions to capture the crash reports with this plugin and even used the simulate crash, but the data isn't showing up in my dashboard.
There aren't any error outputs or discernible issues when running the application. The simulate crash does crash the app, but doesn't seem to report anything.
Any help/advice would be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.