magic-script-components-react-native icon indicating copy to clipboard operation
magic-script-components-react-native copied to clipboard

Script that copies the external icons to assets

Open darek607 opened this issue 5 years ago • 0 comments

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:

  1. Write JS script that detects the package and copy the icons automatically to magic-script-components-catalog\android\app\src\main\assets (utilize somehow the postinstall property?),
  2. Instruct users to do it manually until issue is resolved in React

darek607 avatar Nov 25 '19 09:11 darek607