1.1.5 • Published 6 years ago

react-native-adgeneration v1.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-native-adgeneration

npm.io

Installation

Android

$ npm install react-native-adgeneration --save
$ react-native link react-native-adgeneration

iOS

  1. setup CocoaPods
$ cd ios/
$ pod init
  1. add React dependencies in your Podfile

Podfile

target 'Your target' do

  # for ReactNative
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge',
    'DevSupport',
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket'
  ]
  pod "yoga", :path => "../node_modules/react-native/ReactCommon/yoga"

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

end
  1. instllation in root dir
$ npm install react-native-adgeneration --save
$ react-native link react-native-adgeneration

Usage

import { AdGenerationBanner } from 'react-native-adgeneration';

<AdGenerationBanner
  locationId='your_ad_id'
  bannerType='sp' // sp|rect|tablet|large
/>

License

MIT

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago