magic-script-components-react-native
magic-script-components-react-native copied to clipboard
Script that copies the external icons to assets
On Android the external icons defined as "lumin-system-icons"
are not copied to native assets automatically (like it's done for fonts). I tried to investigate the issue but with no success (seems a React's bug). However we have no issues with external (Lomino) font files with the same approach.
I see 2 solutions:
- Write JS script that detects the package and copy the icons automatically to
magic-script-components-catalog\android\app\src\main\assets
(utilize somehow thepostinstall
property?), - Instruct users to do it manually until issue is resolved in React