Skip to content

Commit

Permalink
Merge pull request #131 from atlp-rwanda/ch-githubAction-update2
Browse files Browse the repository at this point in the history
Configure GitHub Actions for Automated iOS and Android Builds on Merge to Main
  • Loading branch information
Nkbtemmy authored Jun 7, 2024
2 parents 6912d94 + a352113 commit f70c5a7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: update
on:
pull_request:
branches:
- develop
- main

jobs:
update:
Expand Down
30 changes: 19 additions & 11 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,46 @@
{
"expo": {
"name": "matadors-rn-medica",
"slug": "matadors-rn-medica",
"slug": "medical",
"scheme": "matadors-rn-medica",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"splash": {
"image": "./assets/images/splash.png",
"resizeMode": "contain",
"backgroundColor": "white"
"backgroundColor": "#000000"
},
"assetBundlePatterns": ["**/*"],
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"infoPlist": {
"NSFaceIDUsageDescription": "This app uses Face ID and Touch ID for some features"
},
"bundleIdentifier": "medical.app"
"bundleIdentifier": "com.andela.medica"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
"backgroundColor": "white"
"backgroundColor": "#000000"
},
"package": "medical.app",
"softwareKeyboardLayoutMode": "pan"
"package": "com.andela.medica",
"softwareKeyboardLayoutMode": "pan",
"permissions": [
"android.permission.USE_BIOMETRIC",
"android.permission.USE_FINGERPRINT",
"android.permission.CAMERA",
"android.permission.RECORD_AUDIO"
]
},
"web": {
"bundler": "metro",
"output": "static",
"favicon": "./assets/images/favicon.png"
},
"plugins": [
"@react-native-google-signin/google-signin",
"expo-router",
[
"expo-local-authentication",
Expand Down Expand Up @@ -66,14 +73,15 @@
"origin": false
},
"eas": {
"projectId": "0e90de2a-1056-4ff2-a7c3-3d58fd05665c"
"projectId": "3a17d659-91e3-4105-837b-5f88bdee8d37"
}
},
"runtimeVersion": {
"policy": "appVersion"
},
"updates": {
"url": "https://u.expo.dev/0e90de2a-1056-4ff2-a7c3-3d58fd05665c"
}
"url": "https://u.expo.dev/3a17d659-91e3-4105-837b-5f88bdee8d37"
},
"owner": "tuyishimerwanda"
}
}
16 changes: 3 additions & 13 deletions eas.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
{
"cli": {
"version": ">= 8.0.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"channel": "development"
"distribution": "internal"
},
"preview": {
"distribution": "internal",
"channel": "preview"
"distribution": "internal"
},
"production": {
"channel": "production"
}
},
"submit": {
"production": {}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"build": "eas build -p android",
"build": "eas build",
"test": "jest --coverage",
"test:watch": "jest --watchAll",
"test:update": "jest --updateSnapshot",
Expand Down

0 comments on commit f70c5a7

Please sign in to comment.