react-native-myadbooker

0.2.1 • Public • Published

React Native MyAdbooker

Monetize mobile apps with targeted, in-app advertising using the MyAdbooker platform

Installation

Requires react-native-webview to be installed.

npm install --save react-native-myadbooker

Quick Start

Install the required packages first

npm install --save react-native-myadbooker react-native-webview

The library exposes the AdView component which is responsible for showing an advertisement.

import React from 'react'
import { AdView } from 'react-native-myadbooker'
import { StyleSheet } from 'react-native'

export default function App() {
  return (
      <AdView conditions={{ conditionKey: "conditionValue"}} environment='qa' id="1" slot="slot1" />
  )
}

const styles = StyleSheet.create({
  container: {
    flex: 1
  }
})

Package Sidebar

Install

npm i react-native-myadbooker

Weekly Downloads

0

Version

0.2.1

License

ISC

Unpacked Size

16.9 kB

Total Files

16

Last publish

Collaborators

  • oliemansm