AnotherRSS icon indicating copy to clipboard operation
AnotherRSS copied to clipboard

Feeds don't load one some Huawei phones

Open x2k13 opened this issue 7 years ago • 7 comments

I'd like to try out your app (v1.9) but I can't seem to get it to work. Started it, waited for some time but the indicator just keeps on spinning and no feeds in the list would load. App's traffic log on the phone shows no traffic at all (mobile and wifi) and the app doesn't ask for any permissions either, which it should do on Android 6(+), at least for storage (I suppose). Using a (Huawei) Honor 6, Android 6. Help is appreciated! 😃

x2k13 avatar Aug 06 '17 03:08 x2k13

That sounds very strange to me. Maybe you have a special permission system or app. My app does not need any permission, which are dangerous and where it has to ask for. I only use normal permissions

If an app declares in its manifest that it needs a normal permission, the system automatically grants the app that permission at install time. The system does not prompt the user to grant normal permissions, and users cannot revoke these permissions.

To avoid from any Andriod 6+ permission asking problems on run time, I normaly set the target system to SDK 22 (Android 5.1.1). Setting the target to 22 ask for permissions only during the installation process. But actually I set it to 23 because there should not be any permission trouble. In the next version (2.0) I will change this.

Sometimes it is a problem to install the App on a real SD card. The app does not like it. I use a boot receiver to start feed requests after a reboot - this only works, if the App is installed internally. Normaly the installation process should force this.

Getting the first feeds takes some seconds. It is possible, that you close the app to fast and you have a special developer setting active to "really close the App and remove all their services".

It is hard to debug this problem. I feel sorry for that :-/

no-go avatar Aug 06 '17 09:08 no-go

Because google play forbid downgrade the SDK from 23 to 22, you may try the v1.95 version from the project website APK file. Please uninstall the old version first to avoid from trouble.

Hint to target SDK in google play

no-go avatar Aug 06 '17 11:08 no-go

Still doesn't load. Other network dependent Apps, including e.g. Flym or Aggregator load feeds almost instantly

x2k13 avatar Aug 13 '17 19:08 x2k13

Please download and build my app in debug mode and post the content of the debugging log. Did you read my comment above? Did you install the app on SD-Card? Does the widget load any content? Did you grant AnotherRSS access to the network and to display notifications?

If your device manufacture needs a non-standard file access to hold the app database, you are in trouble :-( Flym and Aggregator needs these permission for import/export - maybe this could be the main problem.

no-go avatar Aug 13 '17 19:08 no-go

I reopen the issue and I try to compare my code with flym and Aggregator to fix the problem.

The first, big differences:

  • both Apps need file-access (AnotherRSS does not)
  • flym uses okhttp3.OkHttpClient: AnotherRSS uses build in java functions
  • flym store the images in a cache directory: AnotherRSS stores a thumbnail direct to the database
  • Fail: I did not find open source code of the Aggregator App and no private policy or impress
  • flym uses installLocation="auto": AnotherRSS uses "internalOnly" to force a RSS refresh on device boot

I think, I will build a debugging version of AnotherRSS - but I am bussy: I have an important exam in a couple of weeks :-(

The widget questions (above) is very important: the widget has its own refresh and request code and works a bit different.

no-go avatar Aug 13 '17 20:08 no-go

A very very early Version of AnotherRSS is "LowTaz" with only one feed source: LowTaz apk

Does LowTaz work on your device?

A very old and different/strange version of AnotherRSS is "LowFeed". It has the same Image/Database and permissions like AnotherRSS, but works I bit different:

LowFeed apk

Does LowFeed work on your device?

best regards, Jochen

no-go avatar Aug 13 '17 20:08 no-go

Hi Jochen, yes AnotherRSS is installed on internal memory as the code forces it to be installed there, no option to move it to external memory/sd-card either, which is the expected behaviour. The widget doesn't load any feeds either.

I checked both the apks you linked in your last comment and they load all the entries without a problem, So, LowTaz and LowFeed apparently work well. Take your time, it's not that important, but exams are. I wish you the best of luck!

x2k13 avatar Aug 13 '17 23:08 x2k13