@tenqube/visual-reward-react-native 1.1.3 → 1.1.4
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/CHANGELOG.md +6 -0
- package/README.md +19 -4
- package/package.json +7 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -20,20 +20,35 @@ React Native WebView 기반 리워드 광고 SDK입니다.
|
|
|
20
20
|
npm install @tenqube/visual-reward-react-native
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
SDK가
|
|
23
|
+
이 SDK가 사용하는 네이티브 모듈은 **peer dependency**로 선언되어 있습니다. 호스트 앱과 **네이티브 모듈 버전이 충돌하지 않도록**(단일 버전 보장) 아래 패키지들을 호스트 앱에 직접 설치합니다. 이미 설치되어 있는 것은 그대로 두면 됩니다.
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
npm install
|
|
26
|
+
npm install \
|
|
27
|
+
react-native-webview \
|
|
28
|
+
react-native-safe-area-context \
|
|
29
|
+
react-native-device-info \
|
|
30
|
+
react-native-idfa-aaid \
|
|
31
|
+
react-native-orientation-locker \
|
|
32
|
+
react-native-permissions \
|
|
33
|
+
@react-native-community/netinfo
|
|
27
34
|
```
|
|
28
35
|
|
|
36
|
+
> 광고 연동(GMA / AdPopcorn SSP)은 **선택적 peer dependency**이며, 사용할 때만 설치합니다. ([AdMob / Ad Manager WebView 광고 연동](#admob--ad-manager-webview-광고-연동-선택) 참고)
|
|
37
|
+
|
|
29
38
|
### 방법 2) 수동 설치 (GitHub Release)
|
|
30
39
|
|
|
31
|
-
npm을 쓰지 않는 경우, [GitHub Release](https://github.com/tenqube/visual-reward-sdk-react-native/releases)에서 `visual-reward-react-native-<버전>.zip`을 내려받아 압축을 풀고 프로젝트 내 원하는 위치에 복사합니다. (zip에는 `android/`, `ios/` 네이티브 모듈이 포함되어 있습니다.) 그런 다음 `package.json`에 `file:`
|
|
40
|
+
npm을 쓰지 않는 경우, [GitHub Release](https://github.com/tenqube/visual-reward-sdk-react-native/releases)에서 `visual-reward-react-native-<버전>.zip`을 내려받아 압축을 풀고 프로젝트 내 원하는 위치에 복사합니다. (zip에는 `android/`, `ios/` 네이티브 모듈이 포함되어 있습니다.) 그런 다음 `package.json`에 `file:` 경로 및 위 peer dependency들을 추가합니다.
|
|
32
41
|
|
|
33
42
|
```json
|
|
34
43
|
"dependencies": {
|
|
35
44
|
"@tenqube/visual-reward-react-native": "file:./visual-reward-react-native",
|
|
36
|
-
"react-native-
|
|
45
|
+
"react-native-webview": ">=13.0.0",
|
|
46
|
+
"react-native-safe-area-context": ">=4.0.0",
|
|
47
|
+
"react-native-device-info": ">=10.0.0",
|
|
48
|
+
"react-native-idfa-aaid": ">=0.1.1",
|
|
49
|
+
"react-native-orientation-locker": ">=1.7.0",
|
|
50
|
+
"react-native-permissions": ">=4.0.0",
|
|
51
|
+
"@react-native-community/netinfo": ">=11.0.0"
|
|
37
52
|
}
|
|
38
53
|
```
|
|
39
54
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tenqube/visual-reward-react-native",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Tenqube Visual Reward SDK for React Native",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"types": "index.ts",
|
|
@@ -22,18 +22,16 @@
|
|
|
22
22
|
"README.md",
|
|
23
23
|
"CHANGELOG.md"
|
|
24
24
|
],
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@react-native-community/netinfo": "^11.0.0",
|
|
27
|
-
"react-native-idfa-aaid": "^0.1.1",
|
|
28
|
-
"react-native-device-info": "^10.0.0",
|
|
29
|
-
"react-native-orientation-locker": "^1.7.0",
|
|
30
|
-
"react-native-permissions": "^4.0.0",
|
|
31
|
-
"react-native-webview": "^13.0.0"
|
|
32
|
-
},
|
|
33
25
|
"peerDependencies": {
|
|
34
26
|
"react": ">=18.0.0",
|
|
35
27
|
"react-native": ">=0.72.0",
|
|
28
|
+
"react-native-webview": ">=13.0.0",
|
|
36
29
|
"react-native-safe-area-context": ">=4.0.0",
|
|
30
|
+
"react-native-device-info": ">=10.0.0",
|
|
31
|
+
"react-native-idfa-aaid": ">=0.1.1",
|
|
32
|
+
"react-native-orientation-locker": ">=1.7.0",
|
|
33
|
+
"react-native-permissions": ">=4.0.0",
|
|
34
|
+
"@react-native-community/netinfo": ">=11.0.0",
|
|
37
35
|
"react-native-google-mobile-ads": "*",
|
|
38
36
|
"react-native-adpopcorn-ssp": "*"
|
|
39
37
|
},
|