You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, my splash screen is being distorted when I test on a Samsung S9 with the following spec below:
Samsung S9 Dimensions
5.8 INCH
5.81 x 2.70 x 0.33 INCH
Samsung S9 Resolution
1440 x 2960 PX
~ 570 PIXELS PER INCH
Samsung S9 Viewport
360 x 740 PX
~ 143 PIXELS PER INCH
What i'm experiencing is that the image is being squeeze and instead of my logo looking round it's looking oval. Anything I can do to improved this?
My setup is
Android SDK : 10
"@capacitor/assets": "^2.0.4",
"@capacitor/android": "^5.0.0",
"@ionic/react": "^6.0.0",
The text was updated successfully, but these errors were encountered:
The new Android API expect an 1:1 ratio image for splash screen (icon). This plugin generates different image sizes for splash from the image you provide and fill the background with a color. So Android will disort your image to fit in a 1:1 box.
I do not recomment this, but an ASAP solution could be, if you change the generated sizes in:
node_modules@capacitor\assets\dist\platforms\android\assets.js
height and width have to match inside the rule.
Currently, my splash screen is being distorted when I test on a Samsung S9 with the following spec below:
Samsung S9 Dimensions
5.8 INCH
5.81 x 2.70 x 0.33 INCH
Samsung S9 Resolution
1440 x 2960 PX
~ 570 PIXELS PER INCH
Samsung S9 Viewport
360 x 740 PX
~ 143 PIXELS PER INCH
What i'm experiencing is that the image is being squeeze and instead of my logo looking round it's looking oval. Anything I can do to improved this?
My setup is
Android SDK : 10
"@capacitor/assets": "^2.0.4",
"@capacitor/android": "^5.0.0",
"@ionic/react": "^6.0.0",
The text was updated successfully, but these errors were encountered: