Giter VIP home page Giter VIP logo

cordova-plugin-bugfender's People

Contributors

doup avatar jgimenez avatar l0stpenguin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cordova-plugin-bugfender's Issues

IOS: fatal error on 1.3.0 version

After update to last version (1.3.0)
IOS deploy build crashed

fatal error: 'BugfenderSDK/BugfenderSDK.h' file not found
#import <BugfenderSDK/BugfenderSDK.h>

After downgrade to 1.2.1 all work fine.

Bugfender manual logging failing silently

Hi, I'm trying to use the plugin on a cordova project (we are working with only android for the moment), and found out the manual logs were not being sent to the server. Upon a closer look I noticed that in https://github.com/bugfender/cordova-plugin-bugfender/blob/master/www/bugfender.js#L101 The call to cordova was throwing a JSON Error.

I don't quite understand the usage of the code above that line, it creates a new Error and then it parses it and the values returned on the capturing of the match (seems wrong) are used to be sent as line, func and file, seems like a default values settings, or maybe webview engine changed at some point the way it returns the stack, or the regex above is wrong. I also checked the git history and it seems that some functionality was removed there.

I commented that part out and set some defaults for those lines and the rest seems to work just fine. I also noticed that line should be a number (can't be blank) and message must be a string (if you send an object algonside the message then it would cause JSON Error as well) I casted it to string and it seems that that's enough.

For the moment I am able to send those messages and see them correctly on the web dashboard. But I thought I would let you know of this issue.

Regards

Capacitor iOS log INVALID

Hi,
I'm attempting to install this plugin in a Ionic 6 + Capacitor project.
Since I'm using Capacitor, I ran the command:
npm install cordova-plugin-bugfender
and then manually edited the ios/App/App/Info.plist file for iOS and the android/app/src/main/res/values/strings.xml file for Android with the app key and automatic variables.

I also added the pod reference in the Podfile for iOS:
pod 'BugfenderSDK', '~> 1.9.2'
and ran the commands:
pod repo update
pod install

On Android, the plugin works fine, I can see the custom logs in the Dashboard.

On iOS, I receive the output message:
"To Native Cordova -> Bugfender log INVALID"
and cannot receive any log from the device.

Is the plugin compatible with Capacitor? Do I need additional configuration?

Thanks in advance, best regards.

iOS : Bugfender SDK update is failing

Hi Team,

As per the instructions mentioned to update the iOS Bugfender SDK, when i am trying to run "pod install", the update is failing with the following error
Screen Shot 2020-06-19 at 2 19 40 PM

I am setting up the SDK on Ionic 4 Capacitor 2.2 application. Although i can see the logs and it works brilliantly. Was trying to update the iOS SDK anyways.
I think this will require an update in the plugin to update the dependency versions..

Let me know if any additional details are required from my end.

Bugfender is undefined

I integrated the Bugfender plugin for my cordova app as mentioned. But I get the error "bugfender is undefined". The error is logged in the logs sections in bugfender dashboard.

Plugin Install Failing

Hi

Cordova 11.0.0

On attempting to install the plugin using cordova plugin add cordova-plugin-bugfender --variable BUGFENDER_APP_KEY=[APP_KEY] --variable BUGFENDER_AUTOMATIC=UI,CRASH

It fails with

Failed to install 'cordova-plugin-bugfender': CordovaError: Using "requireCordovaModule" to load non-cordova module "semver" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:57:15) at getConfigParser (/Users/../../plugins/cordova-plugin-bugfender/scripts/check_ios_target.js:20:23) at module.exports (/Users/../../plugins/cordova-plugin-bugfender/scripts/check_ios_target.js:7:24) at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:32) at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:136:12) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:108:40 at processTicksAndRejections (internal/process/task_queues.js:93:5) Using "requireCordovaModule" to load non-cordova module "semver" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.

Any ideas?

Import

Hello Guys,

How can I import plugin in ionic 2?

Thanks,
Bhavin

Android app fails to launch.

I followed along the steps to install the cordova-plugin-bugfender. Since it's an ionic/capacitor application, I had to install the plugin with
npm install -s cordova-plugin-bugfender
and add the API key and configuration to my capacitor.config.ts

cordova: {
    preferences: {
      BUGFENDER_APP_KEY: '...',
      BUGFENDER_AUTOMATIC: 'ALL',
    },
  },

When I run the application on an Android phone with ionic cap run android it instantly terminates with the following error stacktrace in adb logcat:

01-31 09:00:16.942 23503 23503 E AndroidRuntime: android.content.res.Resources$NotFoundException: String resource ID #0x0
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.content.res.Resources.getText(Resources.java:512)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.content.res.Resources.getString(Resources.java:605)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.content.Context.getString(Context.java:766)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at com.bugfender.sdk.cordova.BugfenderPlugin.pluginInitialize(BugfenderPlugin.java:32)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:171)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at org.apache.cordova.PluginManager.init(PluginManager.java:86)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at com.getcapacitor.cordova.MockCordovaWebViewImpl.init(MockCordovaWebViewImpl.java:58)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at com.getcapacitor.Bridge$Builder.create(Bridge.java:1303)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at com.getcapacitor.BridgeActivity.load(BridgeActivity.java:72)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at com.getcapacitor.BridgeActivity.onStart(BridgeActivity.java:110)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1510)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.Activity.performStart(Activity.java:8603)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4191)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2571)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:226)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:313)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8741)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
01-31 09:00:16.942 23503 23503 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Ionic Angular 6.1
Capacitor 3.7

Do you have any clue what's going on and how I can fix it?

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.