omnivore icon indicating copy to clipboard operation
omnivore copied to clipboard

Android-bug-Crash/doesn't work offline

Open avichou opened this issue 2 years ago • 15 comments

Putting the phone in airplane or simply not having connection will lead the app to ...simply not work. As soon as you try to open an article it just gives a blank image

Android 13 , oneui5, Samsung s23

Side question but how many articles get downloaded for offline use ? Is there a limit ? Like 1000 last articles of pocket app

Screenshot_20231025_223820_Omnivore.jpg

Screenshot_20231025_223824_Omnivore.jpg

avichou avatar Oct 25 '23 20:10 avichou

Yeah, this is not offline support, sadly. Any plans to add true offline support?

kbdragon avatar Nov 22 '23 19:11 kbdragon

Have a similar issue. Most articles (90%+) will not load without service and/or in airplane mode. Some articles will still load but seems random.

Version 0.194.1 Android 14 Pixel 6

tierced avatar Mar 14 '24 17:03 tierced

@tierced , does the app load on your Pixel 6? On mine, it crashes whilst opening, every single time.

cl93a avatar Mar 21 '24 15:03 cl93a

The app does load. That hasn't been an issue.

Mar 21, 2024 18:36:53 cl93a - notifications at github.com @.***>:

@tierced[https://github.com/tierced] , does the app load on your Pixel 6? On mine, it crashes whilst opening, every single time.

— Reply to this email directly, view it on GitHub[https://github.com/omnivore-app/omnivore/issues/3017#issuecomment-2012679353], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AY62QMAKTCICSOHXYL26W7TYZL5BDAVCNFSM6AAAAAA6P76MOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJSGY3TSMZVGM]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/AY62QMEPKFP76BO2IOSFR5LYZL5BDA5CNFSM6AAAAAA6P76MOOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTX64GLS.gif]

tierced avatar Mar 22 '24 02:03 tierced

I'm kind of surprised this thread is being ignored.

At a minimum, shouldn't the promise "Offline mode" be removed from the documentation? Or qualified, "Works on iPhone only" ?

Marxsal avatar Apr 10 '24 03:04 Marxsal

I'm kind of surprised this thread is being ignored.

At a minimum, shouldn't the promise "Offline mode" be removed from the documentation? Or qualified, "Works on iPhone only" ?

Hi Marxsal, can i ask which device you are having issues with offline on?

jacksonh avatar Apr 10 '24 05:04 jacksonh

@jacksonh how big is the article cache on android? I just tried putting my Samsung a54 in airplane mode and opening the app and got a blank screen with only the top menu. If I try to open the app, put the phone in airplane mode, then I have a few articles appear, but I can only open the top three. Can we increase the cache to 10? Arbitrarily? I wouldn't mind the app taking 1gb of space if it meant that I'd have my reading with me on a plane. Also, can we do a background sync to load new articles/newsletters without opening the app?

kbdragon avatar Apr 10 '24 07:04 kbdragon

@kbdragon it should download all items for the search but on Android right now its doing that separately from fetching the article list, so there's a daily. I'm trying to update it to act more like iOS.

When you open in airplane mode the downloaded articles are disappearing?

jacksonh avatar Apr 10 '24 08:04 jacksonh

@jacksonh I just checked, and yes, downloaded articles are disappearing, but not consistently. I connected to the network, opened omnivore, loaded an article, exited the app (but didn't close it from ram), turned on airplane mode, reopened the app and tried to load the same article - nothing. But, on the same session, I tried loading a previously read article, and that loaded just fine

kbdragon avatar Apr 10 '24 09:04 kbdragon

@jacksonh I just checked, and yes, downloaded articles are disappearing, but not consistently. I connected to the network, opened omnivore, loaded an article, exited the app (but didn't close it from ram), turned on airplane mode, reopened the app and tried to load the same article - nothing. But, on the same session, I tried loading a previously read article, and that loaded just fine

Do they disappear from your library or just have no content?

jacksonh avatar Apr 10 '24 11:04 jacksonh

@jacksonh the articles I loaded before going into airplane mode still appear in the library view, but have no content when clicked. Articles I didn't load obviously don't appear at all.

kbdragon avatar Apr 10 '24 12:04 kbdragon

Hi Marxsal, can i ask which device you are having issues with offline on?

Hi jacksonh, I am having the same problem using OnePlus 6T. In my case, the android app does not seem to provide more functionality than the progressive web app. Both do not work without internet.

M-Hamoud avatar Apr 11 '24 09:04 M-Hamoud

I'm using Fire 8, which corresponds to Android 11. And testing on Moto G6, Android 8.

Both systems exhibit problems.

What sometimes works is to not browse any articles. Turn off internet. Clear the cache. Turn the internet on. Allow the library to reload. Then turn the internet off again and try to browse.

Following this process I've gotten as many as 30 articles. But sometimes fewer articles. And the articles become inaccessible over time.

My feeling is that Omnivore is failing to check the internet status before loading articles. When you first load an article while connected to the internet there's a momentary blank screen. That screen stays around when you're browsing offline. In fact, the "back" button is still there (upper left hand corner), but it is invisible (white-on-white). So it seems like it is attempting to fetch remote articles rather than using it's own local copy.

There are other problems too. If I apply tags to an article, even if online, the tags don't show up until I've exited the app completely and gone back in. I'm guessing it only applies the tags when fetching them from the remote site.

Marxsal avatar Apr 12 '24 19:04 Marxsal