1.0.12 • Published 5 years ago

react-native-minimize v1.0.12

Weekly downloads
228
License
Farzad Marius
Repository
github
Last release
5 years ago

react-native-minimize

Minimize app for React Native on Android And iOS.

demo

Installation

npm i react-native-minimize --save
react-native link react-native-minimize

Manual Installation

iOS

  • Add RNMinimizeApp.xcoderproj into your project in the Libraries folder.
  • Add the .a file on the General tab of your target under Linked Frameworks And Libraries
  • Add the .a file on the Build Phases tab of your target under Link Binary With Libraries

Android

  • In the settings.gradle
       include ':react-native-minimize-app', ':app'
       project(':react-native-minimize-app').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-minimize-app/android')
  • In the build.gradle
      implementation project(':react-native-minimize-app')
  • In MainApplication.java

      import com.farzadmarius.rnminimizeapp.RNMinimizeAppPackage;
      ...
      @Override
        protected List<ReactPackage> getPackages() {
          return Arrays.<ReactPackage>asList(
            ...
            new RNMinimizeAppPackage()
            ...
          );
        }
      ...

Usage

    import RNMinimizeApp from 'react-native-minimize';
    ...
    RNMinimizeApp.minimizeApp();
    ...

Tags

  • React Native
  • Java Script
  • NodeJs
  • Minimize
  • iOS
  • Android
  • Hide
  • Background

Support

  • farzad.zare@live.com
1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

0.0.1

5 years ago