0.2.1 • Published 3 years ago

react-native-myadbooker v0.2.1

Weekly downloads
17
License
ISC
Repository
bitbucket
Last release
3 years ago

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
  }
})
0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago