Skip to content

Commit f70c5a7

Browse files
authored
Merge pull request #131 from atlp-rwanda/ch-githubAction-update2
Configure GitHub Actions for Automated iOS and Android Builds on Merge to Main
2 parents 6912d94 + a352113 commit f70c5a7

File tree

4 files changed

+24
-26
lines changed

4 files changed

+24
-26
lines changed

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: update
22
on:
33
pull_request:
44
branches:
5-
- develop
5+
- main
66

77
jobs:
88
update:

app.json

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,46 @@
11
{
22
"expo": {
33
"name": "matadors-rn-medica",
4-
"slug": "matadors-rn-medica",
4+
"slug": "medical",
55
"scheme": "matadors-rn-medica",
66
"version": "1.0.0",
77
"orientation": "portrait",
88
"icon": "./assets/images/icon.png",
99
"splash": {
1010
"image": "./assets/images/splash.png",
1111
"resizeMode": "contain",
12-
"backgroundColor": "white"
12+
"backgroundColor": "#000000"
1313
},
14-
"assetBundlePatterns": ["**/*"],
14+
"assetBundlePatterns": [
15+
"**/*"
16+
],
1517
"ios": {
1618
"supportsTablet": true,
1719
"infoPlist": {
1820
"NSFaceIDUsageDescription": "This app uses Face ID and Touch ID for some features"
1921
},
20-
"bundleIdentifier": "medical.app"
22+
"bundleIdentifier": "com.andela.medica"
2123
},
2224
"android": {
2325
"adaptiveIcon": {
2426
"foregroundImage": "./assets/images/adaptive-icon.png",
25-
"backgroundColor": "white"
27+
"backgroundColor": "#000000"
2628
},
27-
"package": "medical.app",
28-
"softwareKeyboardLayoutMode": "pan"
29+
"package": "com.andela.medica",
30+
"softwareKeyboardLayoutMode": "pan",
31+
"permissions": [
32+
"android.permission.USE_BIOMETRIC",
33+
"android.permission.USE_FINGERPRINT",
34+
"android.permission.CAMERA",
35+
"android.permission.RECORD_AUDIO"
36+
]
2937
},
3038
"web": {
3139
"bundler": "metro",
3240
"output": "static",
3341
"favicon": "./assets/images/favicon.png"
3442
},
3543
"plugins": [
36-
"@react-native-google-signin/google-signin",
3744
"expo-router",
3845
[
3946
"expo-local-authentication",
@@ -66,14 +73,15 @@
6673
"origin": false
6774
},
6875
"eas": {
69-
"projectId": "0e90de2a-1056-4ff2-a7c3-3d58fd05665c"
76+
"projectId": "3a17d659-91e3-4105-837b-5f88bdee8d37"
7077
}
7178
},
7279
"runtimeVersion": {
7380
"policy": "appVersion"
7481
},
7582
"updates": {
76-
"url": "https://u.expo.dev/0e90de2a-1056-4ff2-a7c3-3d58fd05665c"
77-
}
83+
"url": "https://u.expo.dev/3a17d659-91e3-4105-837b-5f88bdee8d37"
84+
},
85+
"owner": "tuyishimerwanda"
7886
}
7987
}

eas.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
{
2-
"cli": {
3-
"version": ">= 8.0.0"
4-
},
52
"build": {
63
"development": {
74
"developmentClient": true,
8-
"distribution": "internal",
9-
"channel": "development"
5+
"distribution": "internal"
106
},
117
"preview": {
12-
"distribution": "internal",
13-
"channel": "preview"
8+
"distribution": "internal"
149
},
15-
"production": {
16-
"channel": "production"
17-
}
18-
},
19-
"submit": {
2010
"production": {}
2111
}
22-
}
12+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"android": "expo run:android",
88
"ios": "expo run:ios",
99
"web": "expo start --web",
10-
"build": "eas build -p android",
10+
"build": "eas build",
1111
"test": "jest --coverage",
1212
"test:watch": "jest --watchAll",
1313
"test:update": "jest --updateSnapshot",

0 commit comments

Comments
 (0)