Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional config for iOS, macOS and Android in GTK Flutter codelab #95485

Closed
cklanac opened this issue Dec 18, 2021 · 3 comments
Closed

Additional config for iOS, macOS and Android in GTK Flutter codelab #95485

cklanac opened this issue Dec 18, 2021 · 3 comments
Assignees
Labels
r: fixed Issue is closed as already fixed in a newer version team-codelabs Owned by Codelabs team

Comments

@cklanac
Copy link

cklanac commented Dec 18, 2021

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 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.

@cklanac 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
@darshankawar darshankawar added in triage Presently being triaged by the triage team team-codelabs Owned by Codelabs team documentation and removed in triage Presently being triaged by the triage team labels Dec 20, 2021
@darshankawar
Copy link
Member

/cc @domesticmouse

@domesticmouse
Copy link
Contributor

The codelab has been updated to utilise flutterfire command line tooling, which handles these changes.

@darshankawar darshankawar added the r: fixed Issue is closed as already fixed in a newer version label Mar 2, 2023
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: fixed Issue is closed as already fixed in a newer version team-codelabs Owned by Codelabs team
Projects
None yet
Development

No branches or pull requests

3 participants