Bug

React native info output:
System:
OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
CPU: (4) x64 Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
Memory: 1.40 GB / 11.60 GB
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 10.16.0 - /usr/bin/node
Yarn: 1.17.3 - /usr/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5314842
npmPackages:
react: 16.8.6 => 16.8.6
react-native: ^0.60.4 => 0.60.4
Library version: 9.5.3
Steps To Reproduce
Before:
yarn add react-native-svg
yarn add react-native-svg-transformer -D
After
Enable hermes
yarn add babel-plugin-inline-import -D
Describe what you expected to happen:
- Show icons
Reproducible sample code
myComponent.js
import React from "react";
import { Platform } from "react-native";
import IconHome from "./../imgs/icon/home.svg";
export const Home = props => ( <IconHome { ...props } width={22} height={22} /> );
…
screen.js
import { Search, Genero, MinhasMusicas, Home } from "./../components/Icon";
<Home key={1} />
Same issue While running svg with transformation
package.json
"react-native": "0.59.9","react-native-svg-transformer": "^0.13.0",,"react-native-svg": "^9.9.4",Metro.config.js `const { getDefaultConfig } = require(“metro-config”);
index.js
if I use with SvgXml it works.