L Amer
L Amer

Reputation: 21

how solve my flutter apk-release showing null

I make weather application with weatherapi.com.the application in my emulator work perfectly but when I release it it show me everything is null like that: enter image description here

Upvotes: 0

Views: 266

Answers (1)

Sheikh Haziq
Sheikh Haziq

Reputation: 244

It seems your app is unable to access internet. In android/src/main/AndroidManifest.xml, inside manifest tag, add

<uses-permission android:name="android.permission.INTERNET" />

It is working in debug release because it is already added there. But for release, you need to add it manually.

Upvotes: 1

Related Questions