@customerglu/react-native-customerglu 4.1.1 → 4.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 +6 -6
- package/ReactNativeCustomerglu.podspec +1 -1
- package/android/build.gradle +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
13
|
<b>All CustomerGlu SDKs share the same version number.</b><br>
|
|
14
|
-
iOS <code>4.1.
|
|
14
|
+
iOS <code>4.1.2</code> · Android <code>4.1.2</code> · React Native <code>4.1.2</code>
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
- [Quick Start](#quick-start)
|
|
24
24
|
- [Banner Widgets](#banner-widgets)
|
|
25
25
|
- [Features](#features)
|
|
26
|
-
- [What's New in 4.1.
|
|
26
|
+
- [What's New in 4.1.2](#whats-new-in-400)
|
|
27
27
|
- [Troubleshooting](#troubleshooting)
|
|
28
28
|
- [Native SDKs](#native-sdks)
|
|
29
29
|
- [Documentation](#documentation)
|
|
@@ -63,11 +63,11 @@ Install the native CocoaPods dependency:
|
|
|
63
63
|
cd ios && pod install && cd ..
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
The React Native SDK automatically pulls in the native iOS SDK (`CustomerGlu 4.1.
|
|
66
|
+
The React Native SDK automatically pulls in the native iOS SDK (`CustomerGlu 4.1.2`) via CocoaPods.
|
|
67
67
|
|
|
68
68
|
### Android Setup
|
|
69
69
|
|
|
70
|
-
The native Android SDK (`com.customerglu:CustomerGluLibrary:4.1.
|
|
70
|
+
The native Android SDK (`com.customerglu:CustomerGluLibrary:4.1.2`) is resolved automatically via Maven Central.
|
|
71
71
|
|
|
72
72
|
Ensure `mavenCentral()` is in your **project-level** `build.gradle` (or `settings.gradle`):
|
|
73
73
|
|
|
@@ -180,7 +180,7 @@ The SDK handles rendering, styling, native widget inflation, and click actions a
|
|
|
180
180
|
|
|
181
181
|
---
|
|
182
182
|
|
|
183
|
-
## What's New in 4.1.
|
|
183
|
+
## What's New in 4.1.2
|
|
184
184
|
|
|
185
185
|
- **DYNAMIC_MULTISTEP native rendering** — three widget variants (MS1, MS2, MS3) rendered natively on both iOS and Android instead of WebView for better performance and native feel
|
|
186
186
|
- **Auto-height bridge** — native widgets broadcast measured height via `CGBANNER_FINAL_HEIGHT` to resize React Native containers dynamically
|
|
@@ -208,7 +208,7 @@ The React Native SDK wraps the native SDKs. For advanced customization or standa
|
|
|
208
208
|
| Platform | Package | Install |
|
|
209
209
|
|----------|---------|---------|
|
|
210
210
|
| **iOS** | `CustomerGlu` | [CocoaPods](https://cocoapods.org/pods/CustomerGlu) · [SPM](https://github.com/customerglu/CG-iOS-SDK) |
|
|
211
|
-
| **Android** | `com.customerglu:CustomerGluLibrary:4.1.
|
|
211
|
+
| **Android** | `com.customerglu:CustomerGluLibrary:4.1.2` | [Maven Central](https://central.sonatype.com/artifact/com.customerglu/CustomerGluLibrary) |
|
|
212
212
|
|
|
213
213
|
---
|
|
214
214
|
|
|
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
|
|
20
20
|
s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
|
|
21
21
|
s.private_header_files = "ios/generated/**/*.h"
|
|
22
|
-
s.dependency "CustomerGlu", "4.1.
|
|
22
|
+
s.dependency "CustomerGlu", "4.1.2"
|
|
23
23
|
|
|
24
24
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
25
25
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
package/android/build.gradle
CHANGED
|
@@ -102,7 +102,7 @@ dependencies {
|
|
|
102
102
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
103
103
|
implementation 'com.google.code.gson:gson:2.8.6'
|
|
104
104
|
// For local testing: implementation project(':CustomerGluLibrary')
|
|
105
|
-
implementation 'com.customerglu:CustomerGluLibrary:4.1.
|
|
105
|
+
implementation 'com.customerglu:CustomerGluLibrary:4.1.2'
|
|
106
106
|
|
|
107
107
|
}
|
|
108
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@customerglu/react-native-customerglu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "CustomerGlu React Native SDK \u2014 in-app gamification, rewards, and engagement campaigns for iOS and Android.",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|