We are trying to deploy an app using AppFlow, getting this error
Your app currently targets API level 28 and must target at least API level 29 to ensure that it is built on the latest APIs optimised for security and performance. Change your app’s target API level to at least 29
I know how to fix this in android studio if I a release apk using android studio. Is there a way of (1) checking what API target AppFlow is using and (2) changing the target?
Its more how capacitor creates android platform folder (doesnt have config.xml)… this is how I got it to work
-
I uninstalled APKs that aren’t API level 29.
-
I created android platform folder locally, change targetSdkVersion in android/app/build.gradle (NOT build.gradle in android root - made this mistake a few times)
-
push android platform folder to repo (it was gitignored) - if I dont push it AppFlow will create one but there is less control for gradle configs