sterrenb / flutterhole

A third party Android application for the Pi-Hole® dashboard.
https://play.google.com/store/apps/details?id=sterrenburg.github.flutterhole
MIT License
400 stars 27 forks source link

Latest update, Blacklist Page Hangs #113

Open hey24sheep opened 4 years ago

hey24sheep commented 4 years ago

Describe the bug Blacklist Page of your app on latest build is failing to load. It completely hang the app and even the loader on the page.

To Reproduce

Expected behavior Load Blacklist Page as whitelist is loaded

Versions (please complete the following information):

sterrenb commented 3 years ago

Hello @hey24sheep 👋 - Thanks for opening an issue!

If you are still having this issue, could you report the output of the following url in a browser (adjust to your own Pi-hole): http://pi.hole/admin/api.php?list=black&auth=MY_API_TOKEN

This should return some JSON that the app seems to be choking on.

hey24sheep commented 3 years ago

@sterrenburg thanks for replying. It returns JSON Data, with 22038 rows.

It loads but takes more than 7-8minutes but during loading, your loader stops spinning and no button works (not even android soft buttons like back). So, it actually hangs but it is loading. If I press back button, it won't load instead it just hangs the app and I have to manually kill the app.

hey24sheep commented 3 years ago

I have not looked at your code yet but as a fellow flutter dev, I would suggest using bloc or isolates if it is not being used already.