Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Feeds don't load one some Huawei phones #16

Open
x2k13 opened this issue Aug 6, 2017 · 7 comments
Open

Feeds don't load one some Huawei phones #16

x2k13 opened this issue Aug 6, 2017 · 7 comments

Comments

@x2k13
Copy link

x2k13 commented Aug 6, 2017

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! 😃

@no-go
Copy link
Owner

no-go commented Aug 6, 2017

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
Copy link
Owner

no-go commented Aug 6, 2017

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 no-go closed this as completed Aug 6, 2017
@x2k13
Copy link
Author

x2k13 commented Aug 13, 2017

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

@no-go
Copy link
Owner

no-go commented Aug 13, 2017

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 no-go reopened this Aug 13, 2017
@no-go no-go removed the wontfix label Aug 13, 2017
@no-go
Copy link
Owner

no-go commented Aug 13, 2017

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 no-go added help wanted and removed bug labels Aug 13, 2017
@no-go
Copy link
Owner

no-go commented Aug 13, 2017

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

@x2k13
Copy link
Author

x2k13 commented Aug 13, 2017

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!

@no-go no-go changed the title Feeds don't load at all Feeds don't load at first start Mar 17, 2018
@no-go no-go changed the title Feeds don't load at first start Feeds don't load one some Huawei phones Mar 17, 2018
@no-go no-go added the bug label Mar 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants