Skip to content

Commit

Permalink
better setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rodo committed Aug 15, 2023
1 parent a37bcad commit cd7bfc6
Show file tree
Hide file tree
Showing 52 changed files with 154 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
EXPO_PUBLIC_API_URL="http://192.168.1.69:3000/api"
EXPO_PUBLIC_FIREBASE_API_KEY="AIzaSyA0XT51isdE8xlEhzSspNyRab0JDwtOLBQ"
EXPO_PUBLIC_FIREBASE_AUTH_DOMAIN="bibliobooks-df6ca.firebaseapp.com"
EXPO_PUBLIC_FIREBASE_PROJECT_ID="bibliobooks-df6ca"
EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET="bibliobooks-df6ca.appspot.com"
EXPO_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="98696986227"
EXPO_PUBLIC_FIREBASE_APP_ID="1:98696986227:web:34366058f85b070d85b406
EXPO_PUBLIC_FIREBASE_APP_ID="1:98696986227:web:34366058f85b070d85b406"
8 changes: 3 additions & 5 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ module.exports = {
"githubUrl": "https://github.com/bsrodrigue/stalnov-native",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./src/assets/icon.png",
"icon": "./src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./src/assets/logo.png",
"resizeMode": "contain",
"backgroundColor": "#22A39F"
},
"assetBundlePatterns": [
Expand All @@ -21,7 +19,7 @@ module.exports = {
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./src/assets/icon.png",
"foregroundImage": "./src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher.png",
"backgroundColor": "#ffffff"
},
"package": "bf.bsrodrigue.bibliobooks"
Expand All @@ -30,7 +28,7 @@ module.exports = {
"eas": {
"projectId": "e5e15686-405f-4ad5-bda8-ad23272610e9"
},
"API_URL": "https://fine-red-tick-coat.cyclic.cloud/api",
"API_URL": process.env['EXPO_PUBLIC_API_URL'],
"FIREBASE_API_KEY": process.env['EXPO_PUBLIC_FIREBASE_API_KEY'],
"FIREBASE_AUTH_DOMAIN": process.env['EXPO_PUBLIC_FIREBASE_AUTH_DOMAIN'],
"FIREBASE_PROJECT_ID": process.env['EXPO_PUBLIC_FIREBASE_PROJECT_ID'],
Expand Down
11 changes: 9 additions & 2 deletions eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
"distribution": "internal",
"env": {
"API_URL": "http://192.168.1.69:3000/api"
}
},
"preview": {
"distribution": "internal",
Expand All @@ -25,10 +28,14 @@
"distribution": "store",
"android": {
"buildType": "apk"
},
"env": {
"API_URL": "https://fine-red-tick-coat.cyclic.cloud/api"
}

}
},
"submit": {
"production": {}
}
}
}
Binary file removed src/assets/adaptive-icon.png
Binary file not shown.
Binary file removed src/assets/favicon.png
Binary file not shown.
Binary file removed src/assets/icon.png
Binary file not shown.
Binary file added src/assets/icons/android/play_store_512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
</adaptive-icon>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/ios/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/ios/AppIcon-20@2x~ipad.png
Binary file added src/assets/icons/ios/[email protected]
Binary file added src/assets/icons/ios/AppIcon-20~ipad.png
Binary file added src/assets/icons/ios/AppIcon-29.png
Binary file added src/assets/icons/ios/[email protected]
Binary file added src/assets/icons/ios/AppIcon-29@2x~ipad.png
Binary file added src/assets/icons/ios/[email protected]
Binary file added src/assets/icons/ios/AppIcon-29~ipad.png
Binary file added src/assets/icons/ios/[email protected]
Binary file added src/assets/icons/ios/AppIcon-40@2x~ipad.png
Binary file added src/assets/icons/ios/[email protected]
Binary file added src/assets/icons/ios/AppIcon-40~ipad.png
Binary file added src/assets/icons/ios/AppIcon-60@2x~car.png
Binary file added src/assets/icons/ios/AppIcon-60@3x~car.png
Binary file added src/assets/icons/ios/AppIcon-83.5@2x~ipad.png
Binary file added src/assets/icons/ios/[email protected]
Binary file added src/assets/icons/ios/AppIcon@2x~ipad.png
Binary file added src/assets/icons/ios/[email protected]
Binary file added src/assets/icons/ios/AppIcon~ios-marketing.png
Binary file added src/assets/icons/ios/AppIcon~ipad.png
134 changes: 134 additions & 0 deletions src/assets/icons/ios/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"images": [
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "2x",
"size": "60x60"
},
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "3x",
"size": "60x60"
},
{
"filename": "AppIcon~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "76x76"
},
{
"filename": "AppIcon@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "76x76"
},
{
"filename": "AppIcon-83.5@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "83.5x83.5"
},
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "2x",
"size": "40x40"
},
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "3x",
"size": "40x40"
},
{
"filename": "AppIcon-40~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "40x40"
},
{
"filename": "AppIcon-40@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "40x40"
},
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "2x",
"size": "20x20"
},
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "3x",
"size": "20x20"
},
{
"filename": "AppIcon-20~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "20x20"
},
{
"filename": "AppIcon-20@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "20x20"
},
{
"filename": "AppIcon-29.png",
"idiom": "iphone",
"scale": "1x",
"size": "29x29"
},
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "2x",
"size": "29x29"
},
{
"filename": "[email protected]",
"idiom": "iphone",
"scale": "3x",
"size": "29x29"
},
{
"filename": "AppIcon-29~ipad.png",
"idiom": "ipad",
"scale": "1x",
"size": "29x29"
},
{
"filename": "AppIcon-29@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "29x29"
},
{
"filename": "AppIcon-60@2x~car.png",
"idiom": "car",
"scale": "2x",
"size": "60x60"
},
{
"filename": "AppIcon-60@3x~car.png",
"idiom": "car",
"scale": "3x",
"size": "60x60"
},
{
"filename": "AppIcon~ios-marketing.png",
"idiom": "ios-marketing",
"scale": "1x",
"size": "1024x1024"
}
],
"info": {
"author": "iconkitchen",
"version": 1
}
}
Binary file removed src/assets/logo.png
Diff not rendered.
Binary file removed src/assets/splash.png
Diff not rendered.

0 comments on commit cd7bfc6

Please sign in to comment.