aykit / MyOwnNotes

Notes for ownCloud App - Android
GNU General Public License v3.0
69 stars 27 forks source link

App does not login to OwnCloud with URLs inlcuding subfolder. #146

Open ChrisPHL opened 7 years ago

ChrisPHL commented 7 years ago

Hi there,

my OwnCloud server has the address https://myserver/owncloud. (OwnCloud v9.1.4 with "OwnNote" v1.08) This does make the MyOwnNotes App think of wrong username or password when trying to login ("Please check your username and password."). I'm pretty sure not to have misspelled my password, tried it several times and changed to "foo" temporarely with no success.

I tried to manipulate the code of LoginActivity::doInBackground() myself like this: String name = selectedAccount.name; name = name.substring(0, name.indexOf("/", name.indexOf("://")+3)); /* Shorten URL right after host name. */ Uri baseUrl = Settings.getAccountURL(name); Which brings me to the list of notes once. So I think the issue has to be considered with the additional path following the host name. Unfortunately MyOwnNotes does not sync any of my Notes that I just created in the webfrontend of my OwnCloud server. I'm not that familiar with Android programming so can't go any further at this point. So I kindly ask you to fix that issue or maybe help me to fix that on my own.

ramschmaerchen commented 7 years ago

Hi, @ChrisPHL , what version of myownnotes are you using?

ChrisPHL commented 7 years ago

Sorry, I forgot to mention that. I'm using Version 2.0 from F-Droid.