react-native-turn-off-optimization
v1.0.3
Published
## Getting started
Downloads
22
Maintainers
Readme
react-native-turn-off-optimization
Getting started
$ npm install react-native-turn-off-optimization --save
Installation
$ react-native link react-native-turn-off-optimization
Usage
import RNTurnOffOptimization from 'react-native-turn-off-optimization';
RNTurnOffOptimization.isOptimizationTurnedOn()
.then(isTurnedOn => {
if (isTurnedOn) {
RNTurnOffOptimization.openTurnOffOptimizationModal();
}
})