Skip to content

Commit 7f3ea83

Browse files
authored
Merge pull request #5068 from GoogleCloudPlatform/2.0.11-Release-Candidate
2.0.11 release to Master
2 parents b6aa7ad + 11f90d8 commit 7f3ea83

659 files changed

Lines changed: 66927 additions & 11390 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.DS_Store

8 KB
Binary file not shown.

.github/workflows/build-iOS.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ jobs:
1010
runs-on: macOS-latest
1111
strategy:
1212
matrix:
13-
destination: ['platform=iOS Simulator,OS=15.0,name=iPhone 11']
13+
destination: ['platform=iOS Simulator,OS=16.0,name=iPhone 11']
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v2
17-
- name: Force XCode 13.0
18-
run: sudo xcode-select -switch /Applications/Xcode_13.0.app
17+
- name: Force XCode 14.0
18+
run: sudo xcode-select -switch /Applications/Xcode_14.0.app
1919
- name: Build
2020
run: |
2121
cd iOS/MyStudies
2222
xcodebuild clean build -workspace MyStudies.xcworkspace -scheme MyStudies -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=YES
23-
env:
23+
env:
2424
destination: ${{ matrix.destination }}
2525
- name: Test
2626
run: |
2727
cd iOS/MyStudies
2828
xcodebuild test -workspace MyStudies.xcworkspace -scheme MyStudies -destination "${destination}"
29-
env:
29+
env:
3030
destination: ${{ matrix.destination }}

.github/workflows/build-participant-manager.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node-version: [12.x]
15+
node-version: [14.x]
1616

1717
steps:
1818
- uses: actions/checkout@v2
@@ -25,7 +25,3 @@ jobs:
2525
run: |
2626
npm ci
2727
npm run build:ci
28-
29-
- name: npm run test
30-
run: |
31-
npm run test:ci

.gitignore

Lines changed: 4221 additions & 0 deletions
Large diffs are not rendered by default.

Android/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ The **FDA MyStudies** mobile application fetches all study, schedule, activity,
3232
- Go to the [Firebase console](https://console.firebase.google.com/) and select the project you configured for Cloud Firestore during [`Response datastore`](/response-datastore/) deployment
3333
- [Register your Android app](https://firebase.google.com/docs/android/setup) in the Cloud Messaging section of the Firebase console (the `Android package name` is the `applicationID` value in the [`Android/app/build.gradle`](app/build.gradle) file)
3434
- Download the `google-services.json` file from the [Firebase project settings](https://console.firebase.google.com/project/_/settings/general/) page and replace [`Android/app/src/fda/google-services.json`](app/src/fda/google-services.json) (you do not need to update either of your `build.gradle` files, even if prompted)
35+
- To enable Google Analytics, go to the Firebase console, click on the dashboard under Analytics section from the side menu and click on enable Google Analytics button to view the events triggered from the mobile
3536
1. Configure your [`Participant datastore`](/participant-datastore/) instance to interface with your mobile application (skip this step if following the semi-automated [deployment guide](/deployment/README.md) - you will complete an automated version of this task when you return to that guide)
36-
- Make a copy of the [`participant-datastore/sqlscript/mystudies_app_info_update_db_script.sql`](../participant-datastore/sqlscript/mystudies_app_info_update_db_script.sql) and update the values to match your Android configuration
37+
- Make a copy of the [`mystudies_participant_datastore_db_script.sql`](../participant-datastore/sqlscript/mystudies_app_info_update_db_script.sql) and update the values to match your Android configuration
3738
- Optionally, configure the iOS fields to match your iOS configuration (not necessary if you are not configuring an iOS application)
3839
- Run your updated [`mystudies_app_info_update_db_script.sql`](../participant-datastore/sqlscript/mystudies_app_info_update_db_script.sql) script on the `mystudies_participant_datastore` database that you created during [`Participant datastore`](/participant-datastore/) deployment ([instructions](https://cloud.google.com/sql/docs/mysql/import-export/importing#importing_a_sql_dump_file))
3940
1. *Optional.* Customize images and text

Android/app/src/androidTest/java/com/harvard/ExampleInstrumentedTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import android.content.Context;
44
import androidx.test.platform.app.InstrumentationRegistry;
55
import androidx.test.runner.AndroidJUnit4;
6-
76
import org.junit.Test;
87
import org.junit.runner.RunWith;
98

Android/app/src/androidTest/java/com/harvard/usermodule/ErrorTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import android.content.Intent;
1818
import android.net.Uri;
19+
1920
import androidx.test.platform.app.InstrumentationRegistry;
2021
import androidx.test.rule.ActivityTestRule;
2122
import androidx.test.runner.AndroidJUnit4;

Android/app/src/androidTest/java/com/harvard/usermodule/ForgotPasswordActivityTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import android.content.Intent;
1818
import android.net.Uri;
19+
1920
import androidx.test.platform.app.InstrumentationRegistry;
2021
import androidx.test.rule.ActivityTestRule;
2122
import androidx.test.runner.AndroidJUnit4;

Android/app/src/androidTest/java/com/harvard/usermodule/LoginCallbackActivityTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import android.content.Intent;
1818
import android.net.Uri;
19+
1920
import androidx.test.platform.app.InstrumentationRegistry;
2021
import androidx.test.rule.ActivityTestRule;
2122
import androidx.test.runner.AndroidJUnit4;

Android/app/src/androidTest/java/com/harvard/usermodule/SignupActivityTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import android.content.Intent;
1818
import android.net.Uri;
19+
1920
import androidx.test.platform.app.InstrumentationRegistry;
2021
import androidx.test.rule.ActivityTestRule;
2122
import androidx.test.runner.AndroidJUnit4;

0 commit comments

Comments
 (0)