-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
The Android app crashes #1308
Comments
The application crashes when I select a bookmark, but the menu appears in which browser I want to open the bookmark, I select the browser and the bookmark is loaded. |
-ad: When I reopen an already opened application in the background, I don't go back to the folder where I was, but the application loads the base folder. |
-ad: In the browser, I share a bookmark to the app, the bookmark save menu appears, I don't save the bookmark, but I click the arrow in the top left corner, go back to the browser and back to Floccus, and the previously rejected bookmark shows up for saving. |
I cannot reproduce this. |
I cannot reproduce this. For me it works. |
I can only reproduce this when not tapping the back button in the save menu but switching to the browser directly and then resharing to floccus. I don't believe this can be fixed, though. |
+1'ing the crashing on Lineageos 19.1 + WebDav: During account setup, the app constantly resets itself when losing focus (e.g. when I look up my WebDav password) so that I had to write everything down beforehand and do the account setup without changing app focus. After the WebDav account was finally set up, I tried importing an HTML bookmarks file. This also makes the app crash immediately. |
I experience the same behaviour as @kalekad. The app seems to be crashing or re-initializing after selecting a bookmark. Examples: Select bookmark directly
Select bookmark from search results
In step 2, when the bookmark is already opened in the browser I often get a popup from Android saying: "floccus bookmark sync keeps stopping", with options to stop the app or view app information. (I assume that is an indicator that the app crashed?) This started happening only after updating to version 4.18.0. Downgrading to 4.17.1 resolves the issue. I am using a Google Pixel 6 with Android 13 (patch level January 2023). Floccus was installed from f-droid store. I am synching bookmarks to a nextcloud instance. After updating to v4.18.0 I changed the sync interval to 10 minutes (from the default 15 minutes). Do I need to disable battery optimisation for floccus so that it can run in the background? |
I experienced also the same behavior with resetting the app when loosing focus. |
The only thing I can reproduce is the broken state after adding a bookmark without a link. I can fix that. The crashing / resetting may be due to capacitor v4. Hopefully they have a fix for that |
Could you may try to get the log after a crash, if you have a bit of android experience? |
I will try to get the logs with logcat tomorrow. |
So, here are two log files. |
Probably this issue: katzer/cordova-plugin-background-mode#574 ? There's an open PR with a fix: katzer/cordova-plugin-background-mode#571 But the project seems to be unmaintained - no commit for over 3 years. |
@marcelklehr do you have an ETA for a new release that contains the fix? |
@heapifyman Should be out now on Google Play |
And on f-droid, too :) thanks |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Which version of floccus are you using?
v4.18.0
Sync method
WebDAV
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Samsung, LineageOS 19.1(Android 12L)
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
application crashes when selecting a bookmark
Expected Behavior
To Reproduce
Debug log provided
The text was updated successfully, but these errors were encountered: