-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Git on android/ios doesn't work #1608
Comments
Hello 👋 Thank you for taking the time to open this issue with floccus. I know it's frustrating when software I look forward to working with you on this issue |
It's possible this is a network problem. I'll look into the settings issue. |
I have the same issue. Using 5.1.2. This is what I get in the android log: Capacitor/Console: File: http://localhost/#/tree/17158905901720.4856727622664514 - Line 0 - Msg: Access to fetch at 'https://redacted.com/redactedusername/floccusbookmarks/info/refs?service=git-upload-pack' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. The same server with the browser plugin works ok. |
Ah, thank you for the extended log, @babblerz The error makes sense now. I'll look into fixing this. |
Fixed the settings issue. I can reproduce the CORS issue, I'll look into fixing it. |
Upstream blocker: ionic-team/capacitor#7473 |
Hello, Just posting to follow this issue which I encounter myself too. Thank you for your work! |
Similar issue. Looks like if fails to checkout the branch.
|
Hi @marcelklehr |
@faan11 Sadly not, it's an upstream issue in capacitor: ionic-team/capacitor#7473 |
The upstream issue seems to have been fixed: ionic-team/capacitor#7473 (comment) |
Yes, now we need to wait for a release from them, then this issue can be fixed :) |
Looks like a release was just made from them with the fix |
Yeah the issue has been fixed in the upstream with version v5.7.7 or v6.1.1 |
Mmmh, now with the latest capacitor version it just hangs on git fetch 🤔 It seems they have more bugs in their fetchAPI implementation |
I had a similar issue (hangs with sync and hangs complete mobile) with gitea on my OnePlus Mobile running Android 14.1 but syncs smoothly on my laptop. |
so floccus mobile git sync is not working for your phone too? my samsung phone running android 12 floccus v5.3.1 is having the same issue, the app refreshes countless times and still no bookmark appears |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Please don't comment unless you have a substantial contribution for this discussion. Git is known to not work on Android until the capacitor http implementation is fixed, sadly (see #1608 (comment) ). I'm sorry about this. |
Which version of floccus are you using?
5.1.1
How many bookmarks do you have, roughly?
1000+
Are you using other means to sync bookmarks in parallel to floccus?
No
Sync method
Git
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Android 9 Honor 20
Which version of Nextcloud Bookmarks are you using? (if relevant)
No response
Which version of Nextcloud? (if relevant)
No response
What kind of WebDAV server are you using? (if relevant)
No response
Describe the Bug
I'm importing profile from browser, which works. But I tried creating same profile from scratch and it did not work either.
Profile uses github private repository.
So I have "Failed to fetch" error after sync. And if I go to settings I get blank screen. That is why I can't attach debug logs.
You can see it on video below.
Expected Behavior
Well, it should sync I believe.
To Reproduce
222.mp4
Debug log provided
The text was updated successfully, but these errors were encountered: