mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 06:06:05 +03:00
[GH-ISSUE #1608] Git on android/ios doesn't work #1059
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#1059
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mortifactor on GitHub (May 12, 2024).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1608
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
https://github.com/floccusaddon/floccus/assets/1426349/74cceade-5eb8-4992-b9e2-f8f3ffe6322c
Debug log provided
@github-actions[bot] commented on GitHub (May 12, 2024):
Hello 👋
Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and I created floccus and have been maintaining it ever since.
I currently work for Nextcloud which leaves me with less time for side projects like this one
than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.
I look forward to working with you on this issue
Cheers 💙
@marcelklehr commented on GitHub (May 12, 2024):
It's possible this is a network problem. I'll look into the settings issue.
@babblerz commented on GitHub (May 16, 2024):
I have the same issue. Using 5.1.2. This is what I get in the android log:
Capacitor/Console: File:
localhost/#/tree@1715890590.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.
Also tried it with a github.com account and the error is the same.
@marcelklehr commented on GitHub (May 17, 2024):
Ah, thank you for the extended log, @babblerz The error makes sense now. I'll look into fixing this.
@marcelklehr commented on GitHub (May 17, 2024):
Fixed the settings issue. I can reproduce the CORS issue, I'll look into fixing it.
@marcelklehr commented on GitHub (May 20, 2024):
Upstream blocker: https://github.com/ionic-team/capacitor/issues/7473
@dcanl commented on GitHub (May 28, 2024):
Hello,
Just posting to follow this issue which I encounter myself too.
Thank you for your work!
@mdcayton commented on GitHub (May 31, 2024):
Similar issue. Looks like if fails to checkout the branch.
@faan11 commented on GitHub (Jun 15, 2024):
Hi @marcelklehr
any updates about this issue? Today I have installed the application and i faced this issue with the same error log.
@marcelklehr commented on GitHub (Jun 16, 2024):
@faan11 Sadly not, it's an upstream issue in capacitor: https://github.com/ionic-team/capacitor/issues/7473
@bigdiff commented on GitHub (Jul 10, 2024):
The upstream issue seems to have been fixed: https://github.com/ionic-team/capacitor/issues/7473#event-13444135066
@marcelklehr commented on GitHub (Jul 10, 2024):
Yes, now we need to wait for a release from them, then this issue can be fixed :)
@Crunchbits commented on GitHub (Jul 17, 2024):
Looks like a release was just made from them with the fix
@faan11 commented on GitHub (Jul 17, 2024):
Yeah the issue has been fixed in the upstream with version v5.7.7 or v6.1.1
@marcelklehr commented on GitHub (Jul 20, 2024):
Mmmh, now with the latest capacitor version it just hangs on git fetch 🤔
It seems they have more bugs in their fetchAPI implementation
@ChandraSaiKarthik commented on GitHub (Oct 15, 2024):
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.
Let me know what other details you might need for troubleshooting.
@elvisisvan commented on GitHub (Nov 2, 2024):
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
@unavailable500 commented on GitHub (Nov 18, 2024):
Same here: floccus 5.3.3 Android 10
@yashovardhan99 commented on GitHub (Nov 24, 2024):
Just bumping this thread. I have the same issue on v5.3.4 with Android 14.
@endlesssecurity commented on GitHub (Nov 27, 2024):
Unfortunately +1 v5.3.4 with android 14
@marcelklehr commented on GitHub (Nov 27, 2024):
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 https://github.com/floccusaddon/floccus/issues/1608#issuecomment-2241195727 ). I'm sorry about this.
@faan11 commented on GitHub (Mar 7, 2025):
Hi @marcelklehr,
i've checked the related issues in the capacitor repo.
https://github.com/ionic-team/capacitor/issues/6174, https://github.com/ionic-team/capacitor/issues/5945, https://github.com/ionic-team/capacitor/pull/6165, https://github.com/ionic-team/capacitor/issues/6142, https://github.com/ionic-team/capacitor/issues/6170, https://github.com/ionic-team/capacitor/issues/6126 https://github.com/ionic-team/capacitor/issues/6196 https://github.com/ionic-team/capacitor/issues/6197
It seems that they have been solved and merged. The one left are about HTTP cookies and should not concern this bug ( issues https://github.com/ionic-team/capacitor/issues/6196 https://github.com/ionic-team/capacitor/issues/6197 ).
Did you test the application with the current latest version (7.0.1)?
Let us know,
@marcelklehr commented on GitHub (Mar 8, 2025):
Hey @faan11
Thanks for the heads up, I will try updating to 7.x and see how it goes :)
@marcelklehr commented on GitHub (Mar 8, 2025):
Still no dice, unfortunately. I suspect that blobs are still not supported: https://github.com/ionic-team/capacitor/issues/6177
@faan11 commented on GitHub (Mar 8, 2025):
This should be the issue related to blobs https://github.com/ionic-team/capacitor/issues/6126 , this workaround seems to be the solution: https://github.com/ionic-team/capacitor/issues/6126#issuecomment-1468124406
Maybe this can solve the problem
@marcelklehr commented on GitHub (Mar 9, 2025):
We cannot use Capacitor.request sadly because it only allows string and JSON as body format
@faan11 commented on GitHub (Apr 19, 2025):
I'm wondering, Should we add a custom implementation of git using custom native code?
https://capacitorjs.com/docs/android/custom-code
https://capacitorjs.com/docs/ios/custom-code
What do you think @marcelklehr ? The issue has been going on for a year.
btw Happy easter
@marcelklehr commented on GitHub (Apr 27, 2025):
mh, I would like to avoid implementing git myself in both Java and Objective c
@peter-lyons-kehl commented on GitHub (Jul 21, 2025):
It's frustrating to have to figure out that "Git over HTTPS" option been disabled in the Android app, even though it's still present/listed there.
Yes, it is written "This option is currently not available in the mobile app." - but that is at the end of that paragraph.
Most Android app users come to it after experiencing Floccus in a desktop browser. As such, we don't need to read through descriptions. If an option is listed, we assume it would work. I've been clicking back and forth between options, so confusing.
Please, make text "This option is currently not available in the mobile app." (or similar) obvious:
@wes1993 commented on GitHub (Jul 22, 2025):
There are some news about this issue? I’m on iOS and the same error eccurs…
@peter-lyons-kehl commented on GitHub (Jul 22, 2025):
Limited & work-in-progress workarounds:
On Android (not on iOS (or not yet?) for this purpose):
"Quetta" Chromium-based (Chromium 130? as of July 2025) browser. Supporting Chrome and Edge extensions out of the box, including Floccus. No ads (so far).
Not open sourced (yet - supposed to become open sourced.
(Otherwise similar to Misus, the following browser.)
Quetta DOES exist for iOS, but, unfortunately, according to the FAQ it can't support extensions on iOS.
On Android (unsure about iOS):
Another browser - but with ads, and annoyances/bugs, and using older Chromium base/core: "Mises" Chromium-based mobile-only browser, github.com/mises-id/mises-browser-core, supports Floccus (and many/any? other) Chrome extensions out of the box on Android.
The browser exists for iOS, too - it may support (some?) Chrome extensions on iOS.
I did download (an other extension's) .CRX (from crx4chrome), but the browser didn't install it (not even with "Extensions" page > "Developer mode" turned on).
What works more: clicking the toolbar extensions (puzzle piece) button > "Extensions" > then choose "Floccus" (or other ext.).
Both browsers also have Dark mode.
(Kiwi browser is discontinued.)
@wes1993 commented on GitHub (Jul 23, 2025):
Thanks for help me.
Unfortunately my need is to keep using Safari on iOS…
Best regards
Stefano
@bashln commented on GitHub (Dec 28, 2025):
Any news on this issue?