diff --git a/toptran-app/.claude/settings.json b/toptran-app/.claude/settings.json new file mode 100644 index 0000000..0ce2b91 --- /dev/null +++ b/toptran-app/.claude/settings.json @@ -0,0 +1,21 @@ +{ + "permissions": { + "allow": [ + "Bash(node -e \"const p = require\\('./node_modules/expo/package.json'\\); console.log\\(p.version\\);\")", + "Bash(node -e \"require\\('./node_modules/react-native-edge-to-edge/dist/commonjs/extras/expo.js'\\)\")", + "Bash(node -e \"require\\('./node_modules/react-native-edge-to-edge/app.plugin.js'\\)\")", + "Bash(node -e \"const p = require\\('./node_modules/react-native/package.json'\\); console.log\\(p.version\\);\")", + "Bash(node -e \"const p = require\\('./node_modules/react-native-edge-to-edge/package.json'\\); console.log\\(JSON.stringify\\(p.peerDependencies\\)\\);\")", + "Bash(node -e \"const p = require\\('./node_modules/react-native-edge-to-edge/package.json'\\); console.log\\(JSON.stringify\\(p.exports, null, 2\\)\\);\")", + "Bash(node -e ' *)", + "Bash(npx expo *)", + "Bash(node -e \"const p = require\\('./node_modules/react-native-edge-to-edge/package.json'\\); console.log\\(JSON.stringify\\({source: p.source, 'react-native': p['react-native']}, null, 2\\)\\);\")", + "Bash(npm list *)", + "Bash(npm info *)", + "Bash(curl -sk --max-time 5 https://toptran.olymp.com.br/health)", + "Bash(curl -sk --max-time 5 https://toptran.olymp.com.br/api/health)", + "Bash(curl -sk --max-time 5 -X POST https://toptran.olymp.com.br/auth/login -H \"Content-Type: application/json\" -d '{\"email\":\"test@test.com\",\"password\":\"test\"}')", + "Bash(curl -sk --max-time 5 -I https://toptran.olymp.com.br)" + ] + } +} diff --git a/toptran-app/app.json b/toptran-app/app.json index 7eafc74..40cd424 100644 --- a/toptran-app/app.json +++ b/toptran-app/app.json @@ -9,11 +9,13 @@ "userInterfaceStyle": "automatic", "ios": { "supportsTablet": true, - "bundleIdentifier": "com.rayankonecny.toptranapp" + "bundleIdentifier": "com.toptran.app" }, "android": { "predictiveBackGestureEnabled": false, - "package": "com.rayankonecny.toptranapp", + "package": "com.toptran.app", + "versionCode": 1, + "version": "1.0.0", "permissions": [ "android.permission.RECORD_AUDIO" ] diff --git a/toptran-app/eas.json b/toptran-app/eas.json index ccb4b67..bff975e 100644 --- a/toptran-app/eas.json +++ b/toptran-app/eas.json @@ -6,16 +6,31 @@ "build": { "development": { "developmentClient": true, - "distribution": "internal" + "distribution": "internal", + "android": { + "buildType": "apk" + }, + "env": { + "EXPO_PUBLIC_API_URL": "https://toptran.olymp.com.br" + } }, "preview": { "distribution": "internal", "android": { "buildType": "apk" + }, + "env": { + "EXPO_PUBLIC_API_URL": "https://toptran.olymp.com.br" } }, "production": { - "autoIncrement": true + "autoIncrement": true, + "android": { + "buildType": "app-bundle" + }, + "env": { + "EXPO_PUBLIC_API_URL": "https://toptran.olymp.com.br" + } } }, "submit": {