mysql1_dart icon indicating copy to clipboard operation
mysql1_dart copied to clipboard

Working Great on debug Mode but when I generate an apk in release mode It does not work

Open rbtsigma opened this issue 5 years ago • 5 comments

I generated the apk in release mode, I install it on my phone and I never get the connection done to the DB, I do exactly the same using debug mode, It works awesome !!

Thank You in Advance.

rbtsigma avatar May 14 '20 07:05 rbtsigma

?????

rbtsigma avatar Jun 11 '20 15:06 rbtsigma

It's working Now, I didn't because I missed to add at the manifest file that isn't required in debug mode !

rbtsigma avatar Jun 13 '20 15:06 rbtsigma

It's working Now, I didn't because I missed to add at the manifest file that isn't required in debug mode !

How to fix it? Which file to add?

deiviszi avatar Aug 08 '21 15:08 deiviszi

android/app/src/main/AndroidManifest.xml

add:

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

and rebuild app again...

ROBCON-Software avatar Jan 18 '22 07:01 ROBCON-Software

android/app/src/main/AndroidManifest.xml

add:

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

and rebuild app again...

It worked for me, I can't believe I skipped this :) thank you.

kaanplus avatar May 11 '23 09:05 kaanplus