GithubHelp home page GithubHelp logo

Comments (3)

TahaTesser avatar TahaTesser commented on June 28, 2024

Also "Install Pods" is included in the "Android Workflow".
iOS commands should be removed from Android workflows.

- name: Install pods
script: |
find . -name "Podfile" -execdir pod install \;

from codemagic-sample-projects.

TahaTesser avatar TahaTesser commented on June 28, 2024

Just leaving this feedback for anyone updating Flutter samples

  • Update SDK constraints and migrate code samples to null-safety.

  • Remove trailing a lot of spaces from .yaml files and script files.

  • Update codemagic.yaml and build.gradle to match in the same example.
    For instance:
    Here If I follow codemgic.yaml file to create environmental variables with some, I would have to update build.gradle to match the same example. These two files should be using the same variable in the same example.

    groups:
    # Add the group environment variables in Codemagic UI (either in Application/Team variables) - https://docs.codemagic.io/variables/environment-variable-groups/
    - keystore_credentials # <-- (Includes CM_KEYSTORE, CM_KEYSTORE_PASSWORD, CM_KEY_PASSWORD, CM_KEY_ALIAS)
    # CM_KEYSTORE <-- Put your keystore file here
    # CM_KEYSTORE_PASSWORD <-- Put your keystore password here
    # CM_KEY_PASSWORD <-- Put your keystore alias password here
    # CM_KEY_ALIAS <-- Put your keystore alias username here
    - google_play # <-- (Includes GCLOUD_SERVICE_ACCOUNT_CREDENTIALS - Put your google-services.json here)
    - other
    vars:
    FCI_KEYSTORE_PATH: /tmp/keystore.keystore

    if (System.getenv()["CI"]) { // CI=true is exported by Codemagic
    storeFile file(System.getenv()["FCI_KEYSTORE_PATH"])
    storePassword System.getenv()["FCI_KEYSTORE_PASSWORD"]
    keyAlias System.getenv()["FCI_KEY_ALIAS"]
    keyPassword System.getenv()["FCI_KEY_PASSWORD"]
    } else {
    storeFile file("/path/to/local/myreleasekey.keystore")
    storePassword System.getenv()["KEYSTORE_PASSWORD"]
    keyAlias System.getenv()["KEY_ALIAS_USERNAME"]
    keyPassword System.getenv()["KEY_ALIAS_PASSWORD"]

from codemagic-sample-projects.

K-Codemagic avatar K-Codemagic commented on June 28, 2024

Projects are updated.

from codemagic-sample-projects.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.