I was wondering if it's allowed to use a large SVG images like icon.svg
& splash.svg
, and let the OS scale it as it wishes to the corresponding size?
And if yes, for which OS?
And would this be considered a bad practice?
Android Studio includes a tool called Vector Asset Studio that helps you add material icons and import Scalable Vector Graphic (SVG) and Adobe Photoshop Document (PSD) files into your project as vector drawable resources.
About android, did you tried ones builded in android studio (Assets Studio)? You can import directly svg which will be changed to xml file.
SVGs will be supported on devices running iOS 13 and up. On devices below iOS 13, it appears SVGs will be converted to PNGs since they're not a supported format. SVGs are typically the preferred asset type for Web and Android platforms.
How to build a splash screen in React Native. First, head over to Appicon. Drag your image on the box provided, select 4x as your base size, select iOS and Android, and click generate. This process should take approximately two minutes to complete, depending on your internet speed.
On iOS the answer is no, you can't use SVG images for either the icon or the splash screen. You need to use a PNG for both.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With