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

iOS App Sync Error after NC OTP Manager Update to 0.5.3 #45

Open
martintm86 opened this issue Apr 24, 2024 · 17 comments
Open

iOS App Sync Error after NC OTP Manager Update to 0.5.3 #45

martintm86 opened this issue Apr 24, 2024 · 17 comments

Comments

@martintm86
Copy link

Hi,
after update to the newest OTP Manager on my Nextcloud. The iOS App can not sync anymore. I have reseted the app and now it does not accept the encryption Password with the Error: "You need to set a password before. Please update the OTP Manager extension on your Nextcloud server to version 0.3.0 or higher."
Access with my Computer by Browser is OK.
iOS App is the newest 1.3.2

kind regards

@Timithius
Copy link

I am seeing the same issue as of a couple of days ago and was just about to open an issue myself. It seems as though the newest update breaks the iOS app. I'm going to try rolling back to version 0.4.0 to see if that fixes things and will report back.

@Timithius
Copy link

Update:

I am able to confirm that rolling back to 0.4.0 fixed my issue. Higher versions in between 0.4.0 and 0.5.3 may be working but I haven't tested.

If anyone needs any information or configuration from my NC installation, please let me know! I really enjoy your app would be more than happy to help fix this.

@martintm86
Copy link
Author

And how can i Downgrade? My Nc automaticliy update the app when i copy an old version to apps folder....

@matteo-convertino
Copy link
Owner

I think this is duplicate of #44

@martintm86
Copy link
Author

Oh ok sorry. i have not seen because it was closed. what is the problem? When comes a compatible ios app?

@Timithius
Copy link

@matteo-convertino thanks for the info, I should've checked the closed issues. I wasn't aware that you were not the maintainer of the iOS app.

@martintm86 he is not the author of the iOS app, so must wait for an update from the app's author Manpreet Singh. You should be able to downgrade by downloading 0.4.0, disabling the current version in the NC admin panel, and copying the downloaded 0.4.0 files to /var/www/html/custom_apps. You'll then see the correct version on the apps page in the admin panel.

@matteo-convertino
Copy link
Owner

I will leave this issue open, so that it can be easily seen by others who have this problem.

@ovimano
Copy link

ovimano commented May 28, 2024

Same issue here:

image

And after I type the password:

image

The nexcloud app is working, the server is up and running. The app from server is ok and the password is set in the app on the server.

@merkch
Copy link

merkch commented Jul 23, 2024

ok. so you closed the other one... fine...
I think I found the issue ;)
at /var/www/nextcloud/apps/ the optmanager lives at "otpmanager" ... BUT the app tries to find the home at "opt_manager" ... it's hard coded... pls correct it... thnx... seems to be an easy issue :*

@MiKom
Copy link

MiKom commented Jul 24, 2024

Thanks for info. I now see that the iOS application is trying to do POST to /index.php/apps/otpmanager/password/check which gives 404 so it seems to be using the proper otpmanager endpoint.

Anyways, the iOS application seems unmaintained. Last build by Manpreet Singh is from 7 months ago from version 1.3.2.

@matteo-convertino do you have any contact with Manpreet? I'm wondering if the iOS version is now abandoned and whether I should look for ways to do something about it.

@matteo-convertino
Copy link
Owner

I now see that the iOS application is trying to do POST to /index.php/apps/otpmanager/password/check which gives 404 so it seems to be using the proper otpmanager endpoint.
Anyways, the iOS application seems unmaintained. Last build by Manpreet Singh is from 7 months ago from version 1.3.2.

Yes exactly. The problem is that, going forward with the versions, I updated the endpoints on the backend (nextcloud extension). So now the latest version available on the app store is no longer capable of doing anything.

@matteo-convertino do you have any contact with Manpreet? I'm wondering if the iOS version is now abandoned and whether I should look for ways to do something about it.

I practically have no contact with him anymore. The last message was on February 7th.
I would also be willing to pay the 99 dollars per year to publish the app, but I still have the problem because I don't have a Mac to be able to test and build the app.

@merkch
Copy link

merkch commented Jul 24, 2024

ok... I'll contact you... are you in Italy or China --- timezonewise ;)

@pgmillon
Copy link

pgmillon commented Jul 24, 2024

Hi,
maybe there are ways like https://www.macincloud.com/ or http://virtualmacosx.com/ can help building the app without owning a mac

@matteo-convertino
Copy link
Owner

It's a very valid solution but, honestly, it would be an excessive expense. I have no profit from this project.

@MiKom
Copy link

MiKom commented Jul 25, 2024

@matteo-convertino I was wondering if using such a service like @pgmillon linked only briefly to set everything up with developer and store account and then switching to GitHub Actions would make sense? otpmanager is open source so it's eligible for macOS build minutes on GitHub Actions

I've never done it myself but I've seen some guides about testflight uploads, notarization etc. in GitHub Actions. So maybe that could be the low-cost solution?

@rcarlier33
Copy link

rcarlier33 commented Aug 27, 2024

Do you know the latest version of otpmanager-nextcloud compatible with the IOS app ?
Edit: I looked in the code and I see that the password#check route disappeared after v0.4.0 so I think I have my answer.
[https://github.com/matteo-convertino/otpmanager-nextcloud/releases/tag/v0.4.0]
@matteo-convertino: No way to make it compatible by putting this route back?

In any case, many thanks for all this work and this wonderful extension.

@pgmillon
Copy link

Hi,
any update on the app takeover in the store so we can solve this issue ?

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

8 participants