1.5.76 • Published 2 years ago

react-native-native-toast-library-kishor v1.5.76

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

react-native-native-toast-library

Getting started

$ npm install react-native-native-toast-library --save

Mostly automatic installation

$ react-native link react-native-native-toast-library

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNNativeToastLibraryPackage; to the imports at the top of the file
  • Add new RNNativeToastLibraryPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-native-toast-library'
    project(':react-native-native-toast-library').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-native-toast-library/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-native-toast-library')

Usage

import RNNativeToastLibrary from 'react-native-native-toast-library';

// TODO: What to do with the module?
RNNativeToastLibrary;
1.5.76

2 years ago

1.5.61

2 years ago

1.5.75

2 years ago

1.5.70

2 years ago

1.5.6

2 years ago

1.5.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago