@media-suite/reactnative-sdk 0.1.0 → 0.1.1
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @media-suite/reactnative-sdk
|
|
2
2
|
|
|
3
3
|
React Native SDK for MediaSuite ad platform. Renders ads, tracks impressions/clicks with IAB/MRC viewability compliance.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @media-suite/reactnative-sdk @react-native-async-storage/async-storage
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Quick Start
|
|
@@ -13,7 +13,7 @@ npm install @mediasuite/react-native-sdk @react-native-async-storage/async-stora
|
|
|
13
13
|
### 1. Wrap your app with the Provider
|
|
14
14
|
|
|
15
15
|
```tsx
|
|
16
|
-
import { MediaSuiteProvider } from '@
|
|
16
|
+
import { MediaSuiteProvider } from '@media-suite/reactnative-sdk';
|
|
17
17
|
|
|
18
18
|
export default function App() {
|
|
19
19
|
return (
|
|
@@ -35,7 +35,7 @@ export default function App() {
|
|
|
35
35
|
### 2. Render ads anywhere
|
|
36
36
|
|
|
37
37
|
```tsx
|
|
38
|
-
import { MediaSuiteAd } from '@
|
|
38
|
+
import { MediaSuiteAd } from '@media-suite/reactnative-sdk';
|
|
39
39
|
|
|
40
40
|
function HomeScreen() {
|
|
41
41
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@media-suite/reactnative-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MediaSuite Native SDK — React Native SDK for rendering and tracking ads in mobile apps. IAB/MRC viewability standards, impression/click tracking, and ad rotation.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|