This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "accessibility", | |
| "description": "Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)", | |
| "color": "38d8c8" | |
| }, | |
| { | |
| "name": "crash", | |
| "description": "App crashes and is unusable in a significant way.", | |
| "color": "900000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const execSync = require('child_process').execSync; | |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const rulesPath = path.join(__dirname, "..", "rules", "firestore.rules"); | |
| function getRules() { | |
| return fs.readFileSync(rulesPath).toString(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Flutter Demo', | |
| home: HomePage(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Note: iOS app previews are only available with Codemagic teams. | |
| # IPA needs to be signed. Docs for signing: https://docs.codemagic.io/yaml-code-signing/signing-ios/ | |
| # | |
| # You need to add your GitHub PAT as environment variable to Codemaigc. | |
| # Docs to create PAT: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token | |
| workflows: | |
| app-preview: | |
| name: App Preview | |
| instance_type: mac_pro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| workflows: | |
| app-preview: | |
| name: App Preview | |
| # All available instance types: | |
| # https://docs.codemagic.io/yaml/yaml-getting-started/#instance-type | |
| instance_type: mac_pro | |
| max_build_duration: 75 | |
| environment: | |
| groups: | |
| - github |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| workflows: | |
| app-preview: | |
| name: App Preview | |
| # All available instance types: | |
| # https://docs.codemagic.io/yaml/yaml-getting-started/#instance-type | |
| instance_type: mac_pro | |
| max_build_duration: 75 | |
| environment: | |
| flutter: v2.8.1 | |
| when: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scripts: | |
| ... | |
| - name: Build APK | |
| script: flutter build apk --profile | |
| # Save the path to the builds, so the GitHub CLI can access the build files. | |
| artifacts: | |
| - build/**/outputs/apk/**/*.apk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| environment: | |
| groups: | |
| - ios-publishing | |
| - certificate_credentials | |
| vars: | |
| BUNDLE_ID: fun.gatch.v2mvp | |
| ... | |
| scripts: | |
| ... | |
| - name: iOS Code signing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| publishing: | |
| scripts: | |
| - name: Authenticate GitHub CLI | |
| script: | | |
| echo $GITHUB_PAT > gh_credentials.txt | |
| gh auth login --with-token < gh_credentials.txt | |
| rm gh_credentials.txt | |
| - name: Post builds to GitHub PR | |
| script: | | |
| export APK_LINK=$(echo $FCI_ARTIFACT_LINKS | jq '.[1] | .url') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| workflows: | |
| app-preview: | |
| name: App Preview | |
| # All available instance types: | |
| # https://docs.codemagic.io/yaml/yaml-getting-started/#instance-type | |
| instance_type: mac_pro | |
| max_build_duration: 75 | |
| environment: | |
| groups: | |
| - github |
OlderNewer