Can this problem be reproduced with the official owncloud server? No
(url: https://demo.owncloud.org, user: test, password: test)
Android version: 5.1.1
Device model: Z1 compact
Stock or customized system: Stock
ownCloud app version: 2.2.0
ownCloud server version: 9.1.1
Nothing to show and related with my try...
Insert your ownCloud log here
I have made many test :
like a say in my previous post : with a test account (test ; test), it work on my personnal phone.
On another phone (android 6), it work fine with the test account and with the admin account).
I also test with nextcloud android application, on my owncloud server, and it's working fine with both account.
I also test with Owncloud 2.1.2 (install via F-Droid), everything work fine !
But it can't work anymore with owncloud application (2.2.0) on my admin account on my personnal phone. No idea why... Can someone help me in order to find the problem ?
Is this a bad idea to use nexcloud android application with owncloud server instead of owncloud android application ? or continue using Owncloud 2.1.2 ?
Is there an update for this problem like 2.2.1 ?
@heaven988 , did you send the crash to Google App Store?
@jesmrec , @davigonz, @rperezb , this could be important. Seems the top 1 in Play Store.
@heaven988 , do you have other apps that connect to your ownCloud server in the device? Calendar or contact apps, for instance?
@davivel yes, i send many time the crash report !
You've got a interesting idea. Indeed, i am using calendar and contact on my admin account, and for using them i use Caldav Sync (https://play.google.com/store/apps/details?id=org.dmfs.caldav.lib) and Carddav Sync (https://play.google.com/store/apps/details?id=org.dmfs.carddav.sync) on my personnal phone.
This can make sense because i didn't have calendar and contact when i try with a test account ! And i didn't have caldav and carddav on the other device when i test successfully with my admin acount...
If this can help, i can try this week-end to uninstall them and test owncloud 2.2.0 again.
@heaven988 , let's try something easier first.
Go to your device settings, select 'Apps', find and select 'ownCloud', and then tap 'Permissions'. If I'm not wrong, you will find the 'Contacts' permission enabled.
Disable it, and try to open the app again.
If there is no crash, just let the permission disabled. The app doesn't really need it.
There is a real bug to fix, but this is a safe work around.
@heaven988, wait, your device is 5.1. , it still doesn't have dynamic permissions.
In that case, check if Caldav Sync and Carddav Sync allow you to change the name of the accounts in them. Some apps allow to do so (sorry, ownCloud is not one of them).
@jesmrec , FYI:
STEPS TO REPRODUCE:
EXPECTED BEHAVIOUR
CURRENT BEHAVIOUR
Hello,
i have some news.
First i try to restrict access to Calendar and Contact with XPrivacy (module of Xposed). It didn't work and owncloud still crash at start (should i try to restrict other things ?)
I wanted to know if there is a relation in order to follow your lead, so i uninstall Caldav and Carddav (hard way !), and now owncloud stop crashing !
So we can say that you find the problem, but not the solution for now...
Okay this is weird, but just for information.
After reinstalling Caldav and Carddav-sync, configuring them with my account as before, everything work fine.
Caldav | Carddav | Owncloud 2.2.0 (not crashing anymore)
I hope all my feedback help.
Thank you @heaven988. A fix has been developed and it will be released in next version.
@heaven988 I had the same problem. Your solution with reinstalling Caldav and Carddav worked also for me. thanks a lot