@omp343/rn-ad-mediation 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,37 +1,37 @@
1
1
  # rn-ad-mediation
2
2
 
3
- React Native ad mediation wrapper
3
+ React Native ad mediation wrapper for Android supporting multiple ad networks via a native mediation SDK.
4
4
 
5
5
  ## Installation
6
6
 
7
-
8
7
  ```sh
9
- npm install rn-ad-mediation
8
+ npm install @omp343/rn-ad-mediation
10
9
  ```
11
10
 
12
-
13
11
  ## Usage
14
12
 
15
-
16
13
  ```js
17
- import { multiply } from 'rn-ad-mediation';
14
+ import { initialize, showBanner, showInterstitial } from '@omp343/rn-ad-mediation';
18
15
 
19
- // ...
16
+ initialize(
17
+ 'ADMOB_APP_ID',
18
+ 'UNITY_GAME_ID',
19
+ 'APPLOVIN_KEY',
20
+ 'IRONSOURCE_KEY'
21
+ );
20
22
 
21
- const result = multiply(3, 7);
23
+ showBanner();
24
+ showInterstitial();
22
25
  ```
23
26
 
24
-
25
27
  ## Contributing
26
28
 
27
- - [Development workflow](CONTRIBUTING.md#development-workflow)
28
- - [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
29
- - [Code of conduct](CODE_OF_CONDUCT.md)
29
+ - Development workflow
30
+ - Sending a pull request
31
+ - Code of conduct
30
32
 
31
33
  ## License
32
34
 
33
35
  MIT
34
36
 
35
- ---
36
-
37
- Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
37
+ Made with create-react-native-library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omp343/rn-ad-mediation",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "React Native ad mediation wrapper",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",