expo / vector-icons

https://icons.expo.fyi
MIT License
647 stars 114 forks source link

Icons are not visible in mobile app #182

Open ypkkhatri opened 2 years ago

ypkkhatri commented 2 years ago

Expo Version: 4.8.1

NativeBase

<Button
  mt={5}
  colorScheme="secondary"
  startIcon={<FontAwesome5 name="sync" size={24} color="white" />}
>
  REFRESH
</Button>
[Unhandled promise rejection: Error: Unexpected status line:        00      `       А   ]
at node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:103:50 in promiseMethodWrapper
at node_modules/@unimodules/react-native-adapter/build/NativeModulesProxy.native.js:15:23 in moduleName.methodInfo.name
at node_modules/expo-file-system/build/FileSystem.js:105:17 in downloadAsync
at node_modules/expo-file-system/build/FileSystem.js:101:7 in downloadAsync
at node_modules/expo-asset/build/PlatformUtils.js:49:25 in _downloadAsyncManagedEnv
at [native code]:null in flushedQueue
at [native code]:null in invokeCallbackAndReturnFlushedQueue
umrashrf commented 2 years ago

I am facing same issue.

Simulator Screen Shot - iPhone 12 - 2021-09-14 at 00 41 53

App.js

import React from 'react';
import { Ionicons } from '@expo/vector-icons';

export const App = () => {
  return (
    <IconExample />
  );
};

export default class IconExample extends React.Component {
  render() {
    return <Ionicons name="md-checkmark-circle" size={32} color="green" />;
  }
}

yarn.list.txt

umrashrf commented 2 years ago

I ended up recreating an expo project and match dependencies (downgrade) and then everything just works now.