Skip to content

Commit

Permalink
chore: added ci
Browse files Browse the repository at this point in the history
  • Loading branch information
siradji committed Mar 3, 2024
1 parent d3cb745 commit af6ed82
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 135 deletions.
7 changes: 4 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@
"android.permission.POST_NOTIFICATIONS",
"android.permission.ACCESS_COARSE_LOCATION",
"android.permission.ACCESS_FINE_LOCATION",
"android.permission.FOREGROUND_SERVICE"
"android.permission.FOREGROUND_SERVICE",
"com.google.android.gms.permission.AD_ID"
],
"package": "com.nanaeats.nana_vendors",
"versionCode": 490010101,
"versionCode": 1,
"googleServicesFile": "./google-services.json",
"useNextNotificationsApi": true
},
Expand All @@ -60,7 +61,7 @@
"ios": {
"icon": "./assets/app-config/Icon-white-ios1024.png",
"supportsTablet": false,
"bundleIdentifier": "com.nanaeats.nana_vendors",
"bundleIdentifier": "com.nanaeats.nana-vendors",
"buildNumber": "1.1.0"
},
"web": {
Expand Down
5 changes: 4 additions & 1 deletion eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"development-simulator": {
"developmentClient": true,
"distribution": "internal",
"node": "20.0.0",
"ios": {
"simulator": true
}
Expand All @@ -22,7 +23,9 @@
"buildType": "apk"
}
},
"production": {}
"production": {
"node": "20.0.0"
}
},
"submit": {
"production": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function SignupProfileScreen ({navigation}: SignupProfileScreenProps): JS
'mt-10': Device.osName === 'Android',
'mt-20': Device.osName === 'iOS'
})}
disabled={hasErrors(Object.values(form))}
disabled={hasErrors(Object.values(errors))}
onPress={onContinuePress}
labelColor={tailwind('text-white')}
label='Continue'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export function LoginScreen (): JSX.Element {
testID='SignupProfileScreen.FirstName.Input'
containerStyle={tailwind('mt-5')}
labelTestId="SignupProfileScreen.FirstName.Label"
secureTextEntry={true as any}
/>

<GenericButton
Expand All @@ -118,7 +119,7 @@ export function LoginScreen (): JSX.Element {
})}
onPress={onContinuePress}
labelColor={tailwind('text-white')}
label={_loading ? 'Login in...' : 'Log in'}
label="Log in"
backgroundColor={tailwind('bg-primary-500')}
testId="LoginScreen.LoginButton"
loading={_loading}
Expand Down
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "nanavendors",
"version": "1.1.1",
"main": "index.js",
"engines": {
"node": "20"
},
"scripts": {
"prepare": "husky install",
"lint": "eslint . --fix",
Expand All @@ -12,7 +15,9 @@
"test:ci": "jest --ci --coverage --detectOpenHandles --debug",
"cypress:open": "cypress open --project ./mobile-app",
"cypress:run": "cypress run --project ./mobile-app --headless --browser firefox:dev",
"react-devtools:open": "react-devtools"
"react-devtools:open": "react-devtools",
"android": "expo run:android",
"ios": "expo run:ios"
},
"dependencies": {
"@expo/config-plugins": "~7.2.2",
Expand Down Expand Up @@ -42,7 +47,7 @@
"expo-checkbox": "~2.4.0",
"expo-clipboard": "~4.3.1",
"expo-constants": "~14.4.2",
"expo-dev-client": "~2.4.12",
"expo-dev-client": "~2.4.13",
"expo-device": "~5.4.0",
"expo-font": "~11.4.0",
"expo-image": "~1.3.5",
Expand All @@ -57,7 +62,7 @@
"expo-secure-store": "~12.3.1",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.17",
"expo-updates": "~0.18.19",
"expo-web-browser": "~12.3.2",
"lodash": "^4.17.21",
"lottie-react-native": "5.1.6",
Expand All @@ -69,13 +74,13 @@
"react-devtools": "^4.28.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.45.4",
"react-native": "0.72.6",
"react-native": "0.72.10",
"react-native-circular-progress-indicator": "^4.4.2",
"react-native-collapsible": "^1.6.1",
"react-native-confirmation-code-field": "^7.3.1",
"react-native-dropdown-picker": "^5.4.6",
"react-native-gesture-handler": "~2.12.1",
"react-native-get-random-values": "^1.10.0",
"react-native-get-random-values": "~1.9.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-pager-view": "6.2.0",
"react-native-popover-view": "^5.1.8",
Expand Down
Loading

0 comments on commit af6ed82

Please sign in to comment.