react-native-startapp-ads

1.0.2 • Public • Published

react-native-startapp-ads

Getting started

$ npm install react-native-startapp-ads --save

Mostly automatic installation

$ react-native link react-native-startapp-ads

Manual installation

Android

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

Usage

import RNStartappAds from 'react-native-startapp-ads';
 
// TODO: What to do with the module?
RNStartappAds;

Readme

Keywords

Package Sidebar

Install

npm i react-native-startapp-ads

Weekly Downloads

1

Version

1.0.2

License

none

Unpacked Size

612 kB

Total Files

81

Last publish

Collaborators

  • inciler