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

Plugin crashes Android app #5

Open
sarpay opened this issue May 24, 2016 · 10 comments
Open

Plugin crashes Android app #5

sarpay opened this issue May 24, 2016 · 10 comments

Comments

@sarpay
Copy link

sarpay commented May 24, 2016

Everything was working just right until couple days back. Plugin calls like registerDevice and unregisterDevice are causing app to crash without being able to produce an exception in debug mode. (using the Visual Studio Telerik AppBuilder client). Is this a known issue? Has anyone encountered a similar problem lately? Using Android 6

@Lecramed
Copy link

As mentioned in the fork, we have also the same issue with this Verified Plugin.
Is there a solution?

@EddyVerbruggen
Copy link

@Lecramed what mention in which fork are you referring to? And is it also (only?) a problem on Android 6?

Do you guys have any crash logs you can share perhaps?

@Lecramed
Copy link

Pushwoosh#177

How can i create a crash log. My main target is IOS so i do not have much experience with android.

@named8
Copy link

named8 commented May 26, 2016

@Lecramed
if you open android studio and open adb, you can inspect your device with chrome://inspect/#devices, then in android studio's logCat you can se the log of your application and also where your app crashed.

@Lecramed
Copy link

Here is the log of the crash

errorlog.txt

@EddyVerbruggen
Copy link

So according to the upstream repo it's possibly fixed by updating to the latest Android libraries. But when building with Telerik Platform you don't really have much control over that. Not sure why this suddenly breaks though.

@freddiescott
Copy link

freddiescott commented Jul 26, 2016

I have a bit more information regarding this error.
As mentioned earlier it only occurs on Android 6, for me as well. But I am able to properly initialize the pushwoosh plugin as well as register and unregister.
My problem is specifically opening a pushnotification, to launch the app, that is when I get an error. It does not really crash the app, but I think this error might be related.
Below is a screenshot of the chrome://inspect debugging tools :

image

And here is a logfile of adb logcat at the same time :
log.txt

I hope this will assist in debugging this problem.

On a side note, I did test on older versions of android and the problem does not exist there with this version of the plugin.

@EddyVerbruggen
Copy link

Hey guys,

I've just updated this fork to the latest bits of the upstream repo so in case you Android repo's are up to date you should have the same behaviour as with that one.

Can you please verify this on your end with version 6.0.0?

Thanks!

@freddiescott
Copy link

@EddyVerbruggen
I tested the iOS version of my app with the new v6.0.0 plugin and found no problems so far. I will revert with my testing findings on Android later today.

@freddiescott
Copy link

My app has been live with the new plugin for about 1 and a half months without any problems so far, as mentioned in this issue.

The problem has been solved according to me.

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

5 participants