diff --git a/app.config.js b/app.config.js index e4606de6c4..a4743750b6 100644 --- a/app.config.js +++ b/app.config.js @@ -43,7 +43,7 @@ module.exports = function () { icon: './assets/icon.png', userInterfaceStyle: 'automatic', splash: { - image: './assets/cloud-splash.png', + image: './assets/splash.png', resizeMode: 'cover', backgroundColor: '#ffffff', }, @@ -73,9 +73,12 @@ module.exports = function () { }, android: { versionCode: ANDROID_VERSION_CODE, + icon: './assets/icon.png', adaptiveIcon: { - foregroundImage: './assets/adaptive-icon.png', - backgroundColor: '#ffffff', + foregroundImage: './assets/icon-android-foreground.png', + monochromeImage: './assets/icon-android-foreground.png', + backgroundImage: './assets/icon-android-background.png', + backgroundColor: '#1185FE', }, googleServicesFile: './google-services.json', package: 'xyz.blueskyweb.app', diff --git a/assets/adaptive-icon.png b/assets/adaptive-icon.png deleted file mode 100644 index 1dda9a342c..0000000000 Binary files a/assets/adaptive-icon.png and /dev/null differ diff --git a/assets/cloud-splash.png b/assets/cloud-splash.png deleted file mode 100644 index 188625331d..0000000000 Binary files a/assets/cloud-splash.png and /dev/null differ diff --git a/assets/default-avatar.jpg b/assets/default-avatar.jpg deleted file mode 100644 index ab141651e7..0000000000 Binary files a/assets/default-avatar.jpg and /dev/null differ diff --git a/assets/default-avatar.png b/assets/default-avatar.png new file mode 100644 index 0000000000..d2bd03842f Binary files /dev/null and b/assets/default-avatar.png differ diff --git a/assets/favicon.png b/assets/favicon.png index 24ec61e0a5..ddf55f4c81 100644 Binary files a/assets/favicon.png and b/assets/favicon.png differ diff --git a/assets/icon-android-background.png b/assets/icon-android-background.png new file mode 100644 index 0000000000..2c9d153823 Binary files /dev/null and b/assets/icon-android-background.png differ diff --git a/assets/icon-android-foreground.png b/assets/icon-android-foreground.png new file mode 100644 index 0000000000..b7b3263c04 Binary files /dev/null and b/assets/icon-android-foreground.png differ diff --git a/assets/icon.png b/assets/icon.png index 1dda9a342c..7dc2c31a67 100644 Binary files a/assets/icon.png and b/assets/icon.png differ diff --git a/assets/splash.png b/assets/splash.png new file mode 100644 index 0000000000..d012d724c2 Binary files /dev/null and b/assets/splash.png differ diff --git a/assets/tabs-explainer.jpg b/assets/tabs-explainer.jpg deleted file mode 100644 index 64f0a8fe5b..0000000000 Binary files a/assets/tabs-explainer.jpg and /dev/null differ diff --git a/src/lib/assets.native.ts b/src/lib/assets.native.ts index d7ef9a05eb..754bc9d2b0 100644 --- a/src/lib/assets.native.ts +++ b/src/lib/assets.native.ts @@ -1,5 +1,4 @@ import {ImageRequireSource} from 'react-native' -export const DEF_AVATAR: ImageRequireSource = require('../../assets/default-avatar.jpg') -export const TABS_EXPLAINER: ImageRequireSource = require('../../assets/tabs-explainer.jpg') -export const CLOUD_SPLASH: ImageRequireSource = require('../../assets/cloud-splash.png') +export const DEF_AVATAR: ImageRequireSource = require('../../assets/default-avatar.png') +export const CLOUD_SPLASH: ImageRequireSource = require('../../assets/splash.png') diff --git a/src/lib/assets.ts b/src/lib/assets.ts index 216478762d..8859607d56 100644 --- a/src/lib/assets.ts +++ b/src/lib/assets.ts @@ -1,10 +1,6 @@ import {ImageRequireSource} from 'react-native' // @ts-ignore we need to pretend -prf -export const DEF_AVATAR: ImageRequireSource = {uri: '/img/default-avatar.jpg'} +export const DEF_AVATAR: ImageRequireSource = {uri: '/img/default-avatar.png'} // @ts-ignore we need to pretend -prf -export const TABS_EXPLAINER: ImageRequireSource = { - uri: '/img/tabs-explainer.jpg', -} -// @ts-ignore we need to pretend -prf -export const CLOUD_SPLASH: ImageRequireSource = {uri: '/img/cloud-splash.png'} +export const CLOUD_SPLASH: ImageRequireSource = {uri: '/img/splash.png'}