@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.
- package/README.md +15 -15
- 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 {
|
|
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
|
-
|
|
23
|
+
showBanner();
|
|
24
|
+
showInterstitial();
|
|
22
25
|
```
|
|
23
26
|
|
|
24
|
-
|
|
25
27
|
## Contributing
|
|
26
28
|
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
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
|