diff --git a/.env b/.env index 9026df5..7d441b1 100644 --- a/.env +++ b/.env @@ -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 \ No newline at end of file +EXPO_PUBLIC_FIREBASE_APP_ID="1:98696986227:web:34366058f85b070d85b406" \ No newline at end of file diff --git a/app.config.js b/app.config.js index 73d6ec2..eaab40f 100644 --- a/app.config.js +++ b/app.config.js @@ -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": [ @@ -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" @@ -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'], diff --git a/eas.json b/eas.json index d210ee8..6a51e65 100644 --- a/eas.json +++ b/eas.json @@ -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", @@ -25,10 +28,14 @@ "distribution": "store", "android": { "buildType": "apk" + }, + "env": { + "API_URL": "https://fine-red-tick-coat.cyclic.cloud/api" } + } }, "submit": { "production": {} } -} \ No newline at end of file +} diff --git a/src/assets/adaptive-icon.png b/src/assets/adaptive-icon.png deleted file mode 100644 index 03d6f6b..0000000 Binary files a/src/assets/adaptive-icon.png and /dev/null differ diff --git a/src/assets/favicon.png b/src/assets/favicon.png deleted file mode 100644 index e75f697..0000000 Binary files a/src/assets/favicon.png and /dev/null differ diff --git a/src/assets/icon.png b/src/assets/icon.png deleted file mode 100644 index 431bdd2..0000000 Binary files a/src/assets/icon.png and /dev/null differ diff --git a/src/assets/icons/android/play_store_512.png b/src/assets/icons/android/play_store_512.png new file mode 100644 index 0000000..30fb86a Binary files /dev/null and b/src/assets/icons/android/play_store_512.png differ diff --git a/src/assets/icons/android/res/mipmap-anydpi-v26/ic_launcher.xml b/src/assets/icons/android/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..345888d --- /dev/null +++ b/src/assets/icons/android/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/assets/icons/android/res/mipmap-hdpi/ic_launcher.png b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..3e5c50e Binary files /dev/null and b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_background.png b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_background.png new file mode 100644 index 0000000..1369264 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_background.png differ diff --git a/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_foreground.png b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..bb1ee16 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_monochrome.png b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..bb1ee16 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-hdpi/ic_launcher_monochrome.png differ diff --git a/src/assets/icons/android/res/mipmap-mdpi/ic_launcher.png b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..b698fc3 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_background.png b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_background.png new file mode 100644 index 0000000..1853270 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_background.png differ diff --git a/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_foreground.png b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..1845e3d Binary files /dev/null and b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_monochrome.png b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..1845e3d Binary files /dev/null and b/src/assets/icons/android/res/mipmap-mdpi/ic_launcher_monochrome.png differ diff --git a/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher.png b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..2effd21 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_background.png b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_background.png new file mode 100644 index 0000000..092eeb8 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_background.png differ diff --git a/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_foreground.png b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..964d6a2 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_monochrome.png b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..964d6a2 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xhdpi/ic_launcher_monochrome.png differ diff --git a/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher.png b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..28b0bea Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_background.png b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_background.png new file mode 100644 index 0000000..97ae6c7 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_background.png differ diff --git a/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_foreground.png b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..539652f Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_monochrome.png b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..539652f Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxhdpi/ic_launcher_monochrome.png differ diff --git a/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher.png b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..b3c1401 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_background.png b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_background.png new file mode 100644 index 0000000..e72208f Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_background.png differ diff --git a/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..5683847 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_monochrome.png b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..5683847 Binary files /dev/null and b/src/assets/icons/android/res/mipmap-xxxhdpi/ic_launcher_monochrome.png differ diff --git a/src/assets/icons/ios/AppIcon-20@2x.png b/src/assets/icons/ios/AppIcon-20@2x.png new file mode 100644 index 0000000..91e4808 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-20@2x.png differ diff --git a/src/assets/icons/ios/AppIcon-20@2x~ipad.png b/src/assets/icons/ios/AppIcon-20@2x~ipad.png new file mode 100644 index 0000000..91e4808 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-20@2x~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon-20@3x.png b/src/assets/icons/ios/AppIcon-20@3x.png new file mode 100644 index 0000000..adc9790 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-20@3x.png differ diff --git a/src/assets/icons/ios/AppIcon-20~ipad.png b/src/assets/icons/ios/AppIcon-20~ipad.png new file mode 100644 index 0000000..f455365 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-20~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon-29.png b/src/assets/icons/ios/AppIcon-29.png new file mode 100644 index 0000000..283555b Binary files /dev/null and b/src/assets/icons/ios/AppIcon-29.png differ diff --git a/src/assets/icons/ios/AppIcon-29@2x.png b/src/assets/icons/ios/AppIcon-29@2x.png new file mode 100644 index 0000000..73d08c2 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-29@2x.png differ diff --git a/src/assets/icons/ios/AppIcon-29@2x~ipad.png b/src/assets/icons/ios/AppIcon-29@2x~ipad.png new file mode 100644 index 0000000..73d08c2 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-29@2x~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon-29@3x.png b/src/assets/icons/ios/AppIcon-29@3x.png new file mode 100644 index 0000000..5063755 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-29@3x.png differ diff --git a/src/assets/icons/ios/AppIcon-29~ipad.png b/src/assets/icons/ios/AppIcon-29~ipad.png new file mode 100644 index 0000000..283555b Binary files /dev/null and b/src/assets/icons/ios/AppIcon-29~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon-40@2x.png b/src/assets/icons/ios/AppIcon-40@2x.png new file mode 100644 index 0000000..1957523 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-40@2x.png differ diff --git a/src/assets/icons/ios/AppIcon-40@2x~ipad.png b/src/assets/icons/ios/AppIcon-40@2x~ipad.png new file mode 100644 index 0000000..1957523 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-40@2x~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon-40@3x.png b/src/assets/icons/ios/AppIcon-40@3x.png new file mode 100644 index 0000000..009f9de Binary files /dev/null and b/src/assets/icons/ios/AppIcon-40@3x.png differ diff --git a/src/assets/icons/ios/AppIcon-40~ipad.png b/src/assets/icons/ios/AppIcon-40~ipad.png new file mode 100644 index 0000000..91e4808 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-40~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon-60@2x~car.png b/src/assets/icons/ios/AppIcon-60@2x~car.png new file mode 100644 index 0000000..009f9de Binary files /dev/null and b/src/assets/icons/ios/AppIcon-60@2x~car.png differ diff --git a/src/assets/icons/ios/AppIcon-60@3x~car.png b/src/assets/icons/ios/AppIcon-60@3x~car.png new file mode 100644 index 0000000..c32bded Binary files /dev/null and b/src/assets/icons/ios/AppIcon-60@3x~car.png differ diff --git a/src/assets/icons/ios/AppIcon-83.5@2x~ipad.png b/src/assets/icons/ios/AppIcon-83.5@2x~ipad.png new file mode 100644 index 0000000..bf6fad9 Binary files /dev/null and b/src/assets/icons/ios/AppIcon-83.5@2x~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon@2x.png b/src/assets/icons/ios/AppIcon@2x.png new file mode 100644 index 0000000..009f9de Binary files /dev/null and b/src/assets/icons/ios/AppIcon@2x.png differ diff --git a/src/assets/icons/ios/AppIcon@2x~ipad.png b/src/assets/icons/ios/AppIcon@2x~ipad.png new file mode 100644 index 0000000..a1ba543 Binary files /dev/null and b/src/assets/icons/ios/AppIcon@2x~ipad.png differ diff --git a/src/assets/icons/ios/AppIcon@3x.png b/src/assets/icons/ios/AppIcon@3x.png new file mode 100644 index 0000000..c32bded Binary files /dev/null and b/src/assets/icons/ios/AppIcon@3x.png differ diff --git a/src/assets/icons/ios/AppIcon~ios-marketing.png b/src/assets/icons/ios/AppIcon~ios-marketing.png new file mode 100644 index 0000000..d6fb6c8 Binary files /dev/null and b/src/assets/icons/ios/AppIcon~ios-marketing.png differ diff --git a/src/assets/icons/ios/AppIcon~ipad.png b/src/assets/icons/ios/AppIcon~ipad.png new file mode 100644 index 0000000..1621281 Binary files /dev/null and b/src/assets/icons/ios/AppIcon~ipad.png differ diff --git a/src/assets/icons/ios/Contents.json b/src/assets/icons/ios/Contents.json new file mode 100644 index 0000000..bd04914 --- /dev/null +++ b/src/assets/icons/ios/Contents.json @@ -0,0 +1,134 @@ +{ + "images": [ + { + "filename": "AppIcon@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "AppIcon@3x.png", + "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": "AppIcon-40@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "AppIcon-40@3x.png", + "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": "AppIcon-20@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "AppIcon-20@3x.png", + "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": "AppIcon-29@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@3x.png", + "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 + } +} \ No newline at end of file diff --git a/src/assets/logo.png b/src/assets/logo.png deleted file mode 100644 index 72f9641..0000000 Binary files a/src/assets/logo.png and /dev/null differ diff --git a/src/assets/splash.png b/src/assets/splash.png deleted file mode 100644 index 0e89705..0000000 Binary files a/src/assets/splash.png and /dev/null differ