oblador / react-native-vector-icons

Customizable Icons for React Native with support for image source and full styling.
https://oblador.github.io/react-native-vector-icons/
MIT License
17.31k stars 2.12k forks source link

vector icons show text instead of image #810

Open thangkho opened 5 years ago

thangkho commented 5 years ago

I used

import Ionicons from "react-native-vector-icons/Ionicons";
render() {
    const { fontSize } = this.props;
    return (
      <TouchableOpacity
        style={[
          {
            flex: 1,
            flexDirection: "row",
            alignItems: "center",
            marginLeft: 20
          },
          { ...this.props.style }
        ]}
        onPress={this.props.onPress}
      >
        <Ionicons name="ios-arrow-back" size={15} color="#666666" />
        <Text
          style={{
            color: "#666666",
            fontFamily: font.normal,
            marginTop: Platform.OS == "ios" ? 6 : 0,
            fontSize: fontSize || 12,
            marginLeft: 10
          }}
        >
          BACK
        </Text>
      </TouchableOpacity>
    );
  }

It working in IOS but in android it don't show icon back, it show text instead of icon device-2018-08-08-135858 How I can fix it?

johnf commented 11 months ago

Is this still an issue?