Back

[SOLVED] Building for Release

  • 0
  • Android
  • Flutter
jamesking
13 Aug, 2023, 21:27

Hi I'm new to appwrite. I tried googling to solve this issue before but I'm not able to connect to my appwrite isntance using flutter on release builds. Debug builds work just fine. I have a /release folder in my android app directory with the same settings carried over from my debug xml manifest file so I'm confused what the issue could be. Not sure if relevant but I also have a key sign file and the app builds fine - I just cannot login or do anything as if it's not connecting on release apk only.

TL;DR
User is experiencing issues with connecting to their Appwrite instance using Flutter on release builds. Debug builds work fine. The user has tried carrying over the same settings from the debug xml manifest file to a `/release` folder in the Android app directory. They also mention having a key sign file and the app building successfully. However, they cannot login or perform any actions in the app when using the release APK. They are seeking help with understanding and resolving this issue. Solution: One user suggests integrating with an error tracking solution like Sentry. Another user points out that the issue might be caused by missing network permissions in the XML manifest file. The user
Drake
13 Aug, 2023, 21:53

What's the error?

jamesking
13 Aug, 2023, 21:55

I could not tell because it was a release apk <:shrug:845752289448820747>

jamesking
13 Aug, 2023, 21:56

but I figured it out. It was missing the network permissions xml tag.

Drake
13 Aug, 2023, 21:56

I recommend integrating with an error tracking solution like sentry

Drake
13 Aug, 2023, 22:00

[SOLVED] Building for Release

jamesking
13 Aug, 2023, 23:53

how does sentry work with app permission problems?

Drake
13 Aug, 2023, 23:56

Appwrite gives you visibility into errors in your app. So when an app throws an exception, it gets sent to sentry and you can look at all the details about it

jamesking
14 Aug, 2023, 00:12

Hm. I'm not familiar with how app write can inject itself so deeply into the app but ok I will. Thanks!

Drake
14 Aug, 2023, 00:13

Oops sorry I meant sentry, not Appwrite

jamesking
14 Aug, 2023, 00:17

ah!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more