matomo-org / matomo-mobile-2

Matomo Mobile 2 App - The official Git repository! Liberating Web Analytics on the go!
https://matomo.org/mobile
Other
103 stars 31 forks source link

App throws an error on Android N #5357

Open thyngster opened 8 years ago

thyngster commented 8 years ago

When the app starts it shows an error from some libraries. Still the app continues working and it doesn't show the error while the App is still running.

Tried to re-install the app (my first error was when I updated to N . Same behaviour

Android Version: Android N Alpha .(stock) Device: Nexus 5x

screenshot_20160606-225843

thyngster commented 8 years ago

I'm open to help debugging this in any way I can.

tsteur commented 8 years ago

We'll need to have a look on this one soon I presume. If it's not compatible with Android N we might have to make the app compatible with latest Titanium SDK to get compatibility. @thyngster have you tried it with the final Android N version?

tsteur commented 8 years ago

fyi @mattab

mattab commented 8 years ago

Thanks for letting us know @thyngster - would be good to know if you have issue with latest Android N as well?

@tsteur If it's confirmed to fail on latest Android N, :+1: to work on this sometimes. Let's discuss once confirmed!

tsteur commented 8 years ago

We will otherwise need to get an emulator working or something but for this I need to be able to build the app. I'll see if I find an image for my tablet

tsteur commented 8 years ago

Couldn't find a recent image for my Nexus so might need to try it in an emulator

thyngster commented 8 years ago

piwik_android_n I'm running the latest Android N (from beta program) version , and that error is gone, but now after you send the app to the background, when bringing it back it will randomly crash with no specific error. The app is still pretty usable besides that.

Screenshot says: The application Piwik Mobile stopped working. . Reopen it, Send feedback

tsteur commented 8 years ago

Thank you @thyngster

The release for Android N is expected to be 2-3 days on August 5th. Let's test again with the final version and I'd start working on it and try to fix it if the error remains. I'm hoping there will be as well an image for my nexus then

tsteur commented 8 years ago

FYI: Apparently Android N is now supposed to be released mid / end August

tsteur commented 8 years ago

@thyngster can you have another look now that they have released the final version? Unfortunately, Google doesn't support my Nexus tablet anymore and won't receive any updates :(

tsteur commented 8 years ago

FYI: I tested in an emulator and it worked fine but this may be different on an actual device

thyngster commented 8 years ago

Hi, sorry for the delay, I was travelling. I updated my phone the same day the final version went out, and it doesn't happen to often as before but it still crashes. I must say that I didn't had a chance to do a hardreset to the phone, and that I have like other 2 apps that crash in the same as Piwik does.

Is there any way I could debug the error ?

tsteur commented 7 years ago

@thyngster If I upload an updated APK, can you give it maybe a try?

thyngster commented 7 years ago

Sure I can. FYI I got a new nexus 5x because my previous one died and the new one with android 7.0 (fresh install) was giving the same error, Android 7.1 Alpha still crashing the app.

Let me know where to grab the apk and I'll test it.

tsteur commented 7 years ago

Awesome, thank you. Link is https://piwik.org/wp-content/uploads/2016/10/PiwikMobile2.3.0-b2.apk

tsteur commented 7 years ago

Would you mind also trying to change the period to eg "week" in the date chooser? The emulator crashes when doing this on Android 7 but it works on my phone which runs on Android 6

tsteur commented 6 years ago

Could you try https://www.dropbox.com/s/3tm76ogfv4tte6p/Piwik%20Mobile%203.apk?dl=0 ?