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
* split android code signing section to build.gradle and build.gradle.kts
* update GCLOUD_SERVICE_ACCOUNT_CREDENTIALS to GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS
Copy file name to clipboardExpand all lines: content/knowledge-codemagic/build-versioning.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ Alternatively, if you use `YAML` configuration, you may just export the value to
216
216
217
217
Use [`google-play get-latest-build-number`](https://github.com/codemagic-ci-cd/cli-tools/blob/master/docs/google-play/get-latest-build-number.md#get-latest-build-number) action from Codemagic CLI tools to get the latest build number from Google Play Console.
218
218
219
-
In order to do that, you need to provide Google Play API access credentials by providing `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS` as arguments to the action, as defined below.
219
+
In order to do that, you need to provide Google Play API access credentials by providing `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS` as arguments to the action, as defined below.
220
220
221
221
Additionally, you will need to provide the package name of the app in Google Play Console (Ex. `com.example.app`).
222
222
@@ -232,7 +232,7 @@ You will need to set up a service account in Google Play Console and create a JS
232
232
{{< tab header="codemagic.yaml" >}}
233
233
{{<markdown>}}
234
234
1. Open your Codemagic app settings, and go to the **Environment variables** tab.
235
-
2. Enter the `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS` as **_Variable name_**.
235
+
2. Enter the `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS` as **_Variable name_**.
236
236
3. Copy and paste the credentials content as **_Variable value_**.
237
237
4. Enter the variable group name, e.g. **_google_play_credentials_**. Click the button to create the group.
238
238
5. Make sure the **Secure** option is selected.
@@ -250,7 +250,7 @@ You will need to set up a service account in Google Play Console and create a JS
250
250
251
251
{{% tab header="Flutter workflow editor"%}}
252
252
253
-
Add the `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS` environment variable to your Flutter project in **App settings > Environment variables** (See the details [here](../flutter-configuration/env-variables)).
253
+
Add the `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS` environment variable to your Flutter project in **App settings > Environment variables** (See the details [here](../flutter-configuration/env-variables)).
254
254
{{% /tab %}}
255
255
{{< /tabpane >}}
256
256
@@ -320,7 +320,7 @@ scripts:
320
320
321
321
#### Get the build number in the Flutter workflow editor
322
322
323
-
Provided you have exported your Google Play Console service account credentials as an environment variable `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS`, you can call it immediately as a build argument to your Android build command to increment the build number:
323
+
Provided you have exported your Google Play Console service account credentials as an environment variable `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS`, you can call it immediately as a build argument to your Android build command to increment the build number:
Copy file name to clipboardExpand all lines: content/knowledge-codemagic/flutter-screenshots-stores.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -288,10 +288,10 @@ Now you can add the following in your `.gitignore` file, at the root of your Flu
288
288
289
289
Since the `google-play-store.json` and the `app_store_connect.json` files are not meant to be added to your repository, we need to provide them in the workflow in a safe way.
290
290
291
-
With Codemagic, you can for example store the content of the `google-play-store.json` file in a encrypted environment variable named `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS`, and run a script in your workflow that will generate the `google-play-store.json` in the right location, with the right content, by doing as follow:
291
+
With Codemagic, you can for example store the content of the `google-play-store.json` file in a encrypted environment variable named `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS`, and run a script in your workflow that will generate the `google-play-store.json` in the right location, with the right content, by doing as follow:
Then in your workflow, you can write a script that copies the generated illustrations in the right directories. For example, here is how you can copy your illustrations for the French Android version of your app:
Copy file name to clipboardExpand all lines: content/knowledge-others/install-unity-version.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,7 @@ workflows:
201
201
groups:
202
202
# Add the group environment variables in Codemagic UI (in Application or Team variables) - https://docs.codemagic.io/variables/environment-variable-groups/
203
203
- unity # <-- (Includes UNITY_HOME, UNITY_SERIAL, UNITY_EMAIL and UNITY_PASSWORD)
204
-
- google_play # <-- (Includes GCLOUD_SERVICE_ACCOUNT_CREDENTIALS <-- Put your google-services.json)
204
+
- google_play # <-- (Includes GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS <-- Put your google-services.json)
Copy file name to clipboardExpand all lines: content/partials/migrating-from-bitrise.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,7 @@ To deploy to Google Play, a service account is required. Creating a service acco
199
199
200
200
If you have already uploaded your service account to Bitrise, you can download it from there under `Generic file storage`. Alternatively, you can set up a new service account following the instructions [here](../knowledge-base/google-services-authentication/).
201
201
202
-
To add your service account to your configuration file, add it as an environment variable. For example, `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS`. First, navigate to your application and click the `Environment variables` tab. To add the file, encode its contents with base64 and paste the value into Codemagic; make sure to check `Secure` when providing sensitive information. You can either add it to an already created group or create a new group, which you can later reference in your `codemagic.yaml`.
202
+
To add your service account to your configuration file, add it as an environment variable. For example, `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS`. First, navigate to your application and click the `Environment variables` tab. To add the file, encode its contents with base64 and paste the value into Codemagic; make sure to check `Secure` when providing sensitive information. You can either add it to an already created group or create a new group, which you can later reference in your `codemagic.yaml`.
203
203
204
204
Like Bitrise's `Google Play Deploy` step, Codemagic allows you to modify the track, rollout fraction, and update priority. In addition, you can conveniently configure to submit the build as a draft or choose not the send the changes directly to review.
205
205
@@ -226,7 +226,7 @@ The `Google Play Deploy` step in `bitrise.yml` and the publishing in `codemagic.
Copy file name to clipboardExpand all lines: content/partials/quickstart/build-versioning-android.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The prerequisite is a valid **Google Cloud Service Account**. Please follow thes
8
8
1. Go to [this guide](https://docs.codemagic.io/yaml-publishing/google-play/) and complete the steps in the **Google Play** section.
9
9
2. Skip to the **Creating a service account** section in the same guide and complete those steps also.
10
10
3. You now have a `JSON` file with the credentials.
11
-
4. Open Codemagic UI and create a new Environment variable `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS`.
11
+
4. Open Codemagic UI and create a new Environment variable `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS`.
12
12
5. Paste the content of the downloaded `JSON` file in the **_Value_** field, set the group name (e.g. **google_play**) and make sure the **Secure** option is checked.
13
13
---
14
14
6. Add the **google_play** variable group to the `codemagic.yaml`
Copy file name to clipboardExpand all lines: content/partials/quickstart/build-versioning-kmm-android.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The prerequisite is a valid **Google Cloud Service Account**. Please follow thes
8
8
1. Go to [this guide](https://docs.codemagic.io/yaml-publishing/google-play/) and complete the steps in the **Google Play** section.
9
9
2. Skip to the **Creating a service account** section in the same guide and complete those steps also.
10
10
3. You now have a `JSON` file with the credentials.
11
-
4. Open Codemagic UI and create a new Environment variable `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS`.
11
+
4. Open Codemagic UI and create a new Environment variable `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS`.
12
12
5. Paste the content of the downloaded `JSON` file in the **_Value_** field, set the group name (e.g. **google_play**) and make sure the **Secure** option is checked.
13
13
---
14
14
6. Add the **google_play** variable group to the `codemagic.yaml`
0 commit comments