KingWu/flutter_starter_kit

Why it keeps loading

fikrirazzaq opened this issue · 4 comments

Hi @KingWu

device-2019-09-24-090933

I tried to run the app, but it keeps showing the loading dialog in the homepage. I don't think the api is restricted to my country because i got the response in the logs.

I/flutter (15855): INFO: 2019-09-24 09:08:36.466345: APIProvider - Request Path : [GET] https://itunes.apple.com/hk/rss/topfreeapplications/limit=100/json
I/flutter (15855): INFO: 2019-09-24 09:08:36.467205: APIProvider - Request Data : null
I/flutter (15855): INFO: 2019-09-24 09:08:39.863540: APIProvider - Request Path : [GET] https://itunes.apple.com/hk/rss/topgrossingapplications/limit=10/json
I/flutter (15855): INFO: 2019-09-24 09:08:39.864060: APIProvider - Request Data : null
I/flutter (15855): INFO: 2019-09-24 09:08:41.108807: APIProvider - Response Path : [GET] https://itunes.apple.com/hk/rss/topgrossingapplications/limit=10/json Request Data : null
I/flutter (15855): INFO: 2019-09-24 09:08:41.109443: APIProvider - Response statusCode : 200
I/flutter (15855): INFO: 2019-09-24 09:08:41.110048: APIProvider - Response data : {"feed":{"author":{"name":{"label":"iTunes Store"}, "uri":{"label":"http://www.apple.com/itunes/"}}, "entry":[
I/flutter (15855): {"im:name":{"label":"萬國覺醒-RoK"}, "im:image":[
I/flutter (15855): {"label":"https://is2-ssl.mzstatic.com/image/thumb/Purple123/v4/b3/12/a6/b312a634-2472-d3e1-bdeb-83ff5e5edf46/AppIcon-0-1x_U007emarketing-0-85-220-9.png/53x53bb.png", "attributes":{"height":"53"}}, 
I/flutter (15855): {"label":"https://is1-ssl.mzstatic.com/image/thumb/Purple123/v4/b3/12/a6/b312a634-2472-d3e1-bdeb-83ff5e5edf46/AppIcon-0-1x_U007emarketing-0-85-220-9.png/75x75bb.png", "attributes":{"height":"75"}}, 
I/flutter (15855): {"label":"https://is4-ssl.mzstatic.com/image/thumb/Purple123/v4/b3/12/a6/b312a634-2472-d3e1-bdeb-83ff5e5edf46/AppIcon-0-1x_U007emarketing-0-85-220-9.png/100x100bb.png", "attributes":{"height":"100"}}], "summary":{"label":"【遊戲特色】\n\n-運籌帷幄,作戰策略由你決定\n想在地圖上來個迂迴包抄?還是想據守地形,以弱勝強?亦或直取敵巢,圍魏救趙�
I/flutter (15855): INFO: 2019-09-24 09:08:41.241229: type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast
I/flutter (15855): INFO: 2019-09-24 09:08:41.541581: APIProvider - Response Path : [GET] https://itunes.apple.com/hk/rss/topfreeapplications/limit=100/json Request Data : null
I/flutter (15855): INFO: 2019-09-24 09:08:41.542045: APIProvider - Response statusCode : 200
I/flutter (15855): INFO: 2019-09-24 09:08:41.543467: APIProvider - Response data : {"feed":{"author":{"name":{"label":"iTunes Store"}, "uri":{"label":"http://www.apple.com/itunes/"}}, "entry":[
I/flutter (15855): {"im:name":{"label":"有線新聞"}, "im:image":[
I/flutter (15855): {"label":"https://is4-ssl.mzstatic.com/image/thumb/Purple123/v4/bd/4a/6d/bd4a6d93-8889-4465-2d7f-667b9c003fff/AppIcon-0-1x_U007emarketing-0-0-GLES2_U002c0-512MB-sRGB-0-0-0-85-220-0-0-0-7.png/53x53bb.png", "attributes":{"height":"53"}}, 
I/flutter (15855): {"label":"https://is5-ssl.mzstatic.com/image/thumb/Purple123/v4/bd/4a/6d/bd4a6d93-8889-4465-2d7f-667b9c003fff/AppIcon-0-1x_U007emarketing-0-0-GLES2_U002c0-512MB-sRGB-0-0-0-85-220-0-0-0-7.png/75x75bb.png", "attributes":{"height":"75"}}, 
I/flutter (15855): {"label":"https://is2-ssl.mzstatic.com/image/thumb/Purple123/v4/bd/4a/6d/bd4a6d93-8889-4465-2d7f-667b9c003fff/AppIcon-0-1x_U007emarketing-0-0-GLES2_U002c0-512MB-sRGB-0-0-0-85-220-0-0-0-7.png/100x100bb.png", "attributes":{"height":"100"}}], "summary":{"label":"24小時無間斷播放有線新聞台及有線財經資訊台"}
V/BoostFramework(15855): BoostFramework() : mPerf = com.qualcomm.qti.Performance@b60c0e5

Please provide your
flutter doctor

i got the same issue, here is my "flutter doctor" result:
macs-MBP-2:gffundsHtml5 mac$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.4 18E227, locale en-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
[✓] Android Studio (version 3.3)
[!] IntelliJ IDEA Ultimate Edition (version 2016.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ This install is older than the minimum recommended version of 2017.1.0.
[!] VS Code (version 1.38.1)
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)

! Doctor found issues in 2 categories.

Hello @KingWu I got the same issue too.
I run it in Noxplayer.
my flutter doctor is here

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.720], locale ko-KR)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 3.6)
[√] Connected device (1 available)

• No issues found!

1.4.0 fix the above issue. The core issue is the break change of Apple store's new feed api.