• Stars
    star
    104
  • Rank 328,656 (Top 7 %)
  • Language
    Shell
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A library to help you fix image ios14

A library to help you fix images on ios 14 for react-native

Usage

You don't need to install this package in order to fix images. Add a postinstall script in your package.json and every time you will install dependencies the script will run fixing the problem.

  1. add postinstall script (example below);
  2. run yarn install or npm i if you use npm;
  3. rebuild project in Xcode;

Example package.json with postinstall script

{
  "name": "ReactNativeApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "postinstall": "npx react-native-fix-image"
  }
}

My site : My site

More Repositories