React Native – How to display local svg file?
Solution 1 Solution 2 Install dependencies Configure metro to transform svg file to jsx Create metro.config.js Usage Fill color for svg file (optional) Foe example, […]
Solution 1 Solution 2 Install dependencies Configure metro to transform svg file to jsx Create metro.config.js Usage Fill color for svg file (optional) Foe example, […]
Idea Create native Splash Screen to be an image with the same background color as the animation Hide native Splash Screen as soon as JavaScript […]
Basic steps Create native UI and register this into ReactPackage 1. Create a view 2. Create a view manager to use this view in React […]
How to store sensitive info? What is sensitive info? Token storage, secrets Certificates, tokens, passwords Can I save sensitive info in codes? Never store sensitive […]
Definition APPLICATION_NAME – this will be used by react-native to identify your application. APPLICATION_DISPLAY_NAME – display name in Android Home Screen. ANDROID_PACKAGE_NAME – A valid android package name. […]
How to set type for async function? Set type for async function Set type when calling generic type function If the calling code does not […]
What extensions needed for VSCode? copilot ESLint GitLens Prettier npm scripts How to install React Native app? How to config alias for relative path? How […]
How to reset navigation routes? What should be in data params when passing data? what-should-be-in-params What is the difference between push() and navigate()? How to […]
Setup package.json How to clean up everything and restart metro? How to restart metro? How to build bundle file for Android apk build? How to […]
How to run a custom script before building? Create appcenter-pre-build.sh How to fix Android build? Make sure release build config is turned off in code […]
Copyright © 2024 | WordPress Theme by MH Themes