You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-fix-magnification

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-fix-magnification

A library to help you fix image magnification filter

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source

A library to help you fix images magnification.(show image pixelated)

Easy example:


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.

  • add postinstall script (example below);
  • run yarn install or npm i if you use npm;
  • 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-magnification"
  }
}

Notes

  • Also if you have multiple postinstall commands you can combine them as following:
...
    "postinstall": "npx react-native-fix-magnification && npx react-native-fix-image"
 ...
}

Keywords

react-native

FAQs

Package last updated on 24 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.