You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be pointed out to the reader that the starter code has some changes to the build.gradle and Podfiles. If the reader (like me) tries to build the app by copying the source in the lib folder to a clean new flutter project (eg counter) then the following changes will be missing.
For Android you must update the minSdkVersion in the Android/app/build.gradle file to minSdkVersion 21 or provide instructions on how/where to set the flutter.minSdkVersion
defaultConfig {
applicationId "com.example.gtk_flutter"
minSdkVersion 21
// minSdkVersion flutter.minSdkVersion // how to set?
// targetSdkVersion flutter.targetSdkVersion // how to set?
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
For iOS you must update the Podfile to platform :ios, '10.0' and should also update the iOS Deployment Target in xCode.
Likewise for macOS you must update the Podfile to platform :osx, '10.12' and should also update the iOS Deployment Target in xCode.
The text was updated successfully, but these errors were encountered:
cklanac
changed the title
Additional configurations for iOS, macOS and Android
Additional config for iOS, macOS and Android in GTK Flutter codelab
Dec 18, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Regarding step #4 in Get to know Firebase for Flutter
It should be pointed out to the reader that the starter code has some changes to the
build.gradle
and Podfiles. If the reader (like me) tries to build the app by copying the source in thelib
folder to a clean new flutter project (eg counter) then the following changes will be missing.For Android you must update the
minSdkVersion
in theAndroid/app/build.gradle
file tominSdkVersion 21
or provide instructions on how/where to set theflutter.minSdkVersion
For iOS you must update the Podfile to
platform :ios, '10.0'
and should also update the iOS Deployment Target in xCode.Likewise for macOS you must update the Podfile to
platform :osx, '10.12'
and should also update the iOS Deployment Target in xCode.The text was updated successfully, but these errors were encountered: