# audienzz-react-native-appnexus-library

> React Native library for Appnexus SDK

Latest version **1.0.2** (published 2019-05-07) · 0 weekly downloads

## Install

```sh
npm install audienzz-react-native-appnexus-library
pnpm add audienzz-react-native-appnexus-library
yarn add audienzz-react-native-appnexus-library
bun add audienzz-react-native-appnexus-library
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-05-07 |
| First published | 2019-05-07 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 43.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | audienzz |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/audienzz-react-native-appnexus-library
- Repository: https://gitlab.audienzz.ch/audienzz/appnexus-app-lib
- npm.io page: https://npm.io/package/audienzz-react-native-appnexus-library

## Recent versions

- 1.0.2 (latest) — 2019-05-07
- 1.0.1 — 2019-05-07

## README

# audienzz-react-native-appnexus-library

## Getting started

1. Go to your project root folder and open "/node_modules"
2. Create folder "audienzz-react-native-appnexus-library"
3. Copy and paste all files from repository "appnexus-app-lib"
4. Open terminal and "cd" to your project root folder
5. Run "react-native link audienzz-react-native-appnexus-library"

#### Android

1. Open up `android/app/src/main/java/[...]/MainApplication.java`
  - Add `import com.reactlibrary.RTCAppNexusLibraryPackage;` to the imports at the top of the file
  - Remove 'import com.appnexus.opensdk.instreamvideo.RTCAppNexusLibraryPackage;'
2. Append the following lines to `android/settings.gradle`:
  	```
      include ':sdk'
      project(':sdk').projectDir = new File(rootProject.projectDir,'../node_modules/audienzz-react-native-appnexus-library/android/lib/sdk')

      include ':instreamvideo'
      project(':instreamvideo').projectDir = new File(rootProject.projectDir,'../node_modules/audienzz-react-native-appnexus-library/android/lib/instreamvideo')

  	```
3. Open  `android/app/src/main/AndroidManifest.xml`:
		Add permissions
  	```
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
      <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
      <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  	```

#### IOS

1. Go to your project "/ios" folder and open .xcodeproj file.
2. Add the iOS frameworks listed below. To add them, click your application's target. Then click Build Phases, and Link Binary with Libraries to enter the frameworks.
  AdSupport.framework
  AudioToolbox.framework
  AVFoundation.framework
  AVKit.framework
  CFNetwork.framework
  CoreGraphics.framework
  CoreTelephony.framework
  EventKit.framework
  Foundation.framework
  iAd.framework
  MediaPlayer.framework
  MessageUI.framework
  MobileCoreServices.framework
  PassKit.framework
  QuartzCore.framework
  Security.framework
  Social.framework
  StoreKit.framework
  SystemConfiguration.framework
  UIKit.framework
  CoreMedia
  libz.tbd


## Usage

Take a look into this [documentation](./docs/).

---
_Source: https://npm.io/package/audienzz-react-native-appnexus-library · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
