[英]Splash screen blur when using react native with expo
When I opened my splash screen on gallery it looks fine, no blur, but why when I add it to my react native expo project it looks like this?当我在画廊上打开我的启动画面时,它看起来很好,没有模糊,但是为什么当我将它添加到我的 react native expo 项目时它看起来像这样? can I use svg for my splash?
我可以使用 svg 作为我的飞溅吗?
here's code on my app.json
.这是我的
app.json
上的代码。
{
"name": "thisisname",
"displayName": "thisisname",
"expo": {
"name": "thisisname",
"slug": "thisisname",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"assetBundlePatterns": [
"**/*"
],
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#000000"
},
"android": {
"package": "nameofpackage"
}
}
}
Expo splash image must be PNG according to https://docs.expo.io/versions/latest/config/app/#image Expo 启动图像必须是 PNG 根据https://docs.expo.io/versions/latest/config/app/#image
You should show us the difference between the way the splash screen looks in your gallery VS how it looks on your project..您应该向我们展示初始屏幕在您的画廊中的外观与它在您的项目中的外观之间的区别..
try to enhance the image quality尝试提高图像质量
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.