Open SavioNicodemos opened 1 year ago
Hi @SavioNicodemos , I'm facing the same problem, did you find any solution?
you can import it via the path
import ArrowUpRight from 'phosphor-react-native/src/icons/ArrowUpRight'
this works @SkeBug @SavioNicodemos
@SavioNicodemos, same here, I had to wipe the emulator. @Cavdy it worked for me.
"expo": "~48.0.18"
"phosphor-react-native": "^1.1.2"
Issue still happening as of today
"dependencies": {
"@expo-google-fonts/roboto": "^0.2.3",
"expo": "~50.0.14",
"expo-font": "~11.10.3",
"expo-status-bar": "~1.11.1",
"phosphor-react-native": "^2.0.0",
"react": "18.2.0",
"react-native": "0.73.6",
"styled-components": "^6.1.8",
"react-native-svg": "14.1.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/react": "~18.2.45",
"babel-plugin-module-resolver": "^5.0.0",
"typescript": "^5.1.3"
},
When I install the library and try to run the app "npx expo start" using android, the app crashes and don't run again:
only works in Expo Go usind IOS mobile phone
Examples of use:
or using as a component in styled-components:
The app only runs again when I uninstall the library.
My package.json file:
Version of "phosphor-react-native" in use: 1.1.2