GithubHelp home page GithubHelp logo

emilyemorehouse / cordova-plugin-rollbar Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 7.0 14.42 MB

License: Apache License 2.0

Java 58.57% Objective-C 27.91% JavaScript 13.52%
cordova rollbar ionic cordova-plugin rollbar-plugin

cordova-plugin-rollbar's People

Contributors

emilyemorehouse avatar halkeye avatar staxmanade avatar ucswift avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cordova-plugin-rollbar's Issues

iOS Rollbar integration, repo confusion and not seeing native crashes reporting.

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!

Simulated Crash Data Not Showing on Dashboard

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.