zixflow-reactnative 1.1.0 → 1.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/LICENSE +1 -1
- package/README.md +6 -6
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -61,16 +61,16 @@ Here's a simplified example showing how to initialize the SDK to enable mobile f
|
|
|
61
61
|
import {
|
|
62
62
|
Zixflow,
|
|
63
63
|
ZixflowConfig,
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
ZixflowLogLevel,
|
|
65
|
+
ZixflowRegion,
|
|
66
66
|
} from 'zixflow-reactnative';
|
|
67
67
|
|
|
68
68
|
useEffect(() => {
|
|
69
69
|
const config: ZixflowConfig = {
|
|
70
70
|
cdpApiKey: 'your-api-key', // Required
|
|
71
71
|
migrationSiteId: 'your-site-id', // Optional, for migrating from older SDKs
|
|
72
|
-
region:
|
|
73
|
-
logLevel:
|
|
72
|
+
region: ZixflowRegion.US, // Or ZixflowRegion.EU
|
|
73
|
+
logLevel: ZixflowLogLevel.Debug,
|
|
74
74
|
trackApplicationLifecycleEvents: true,
|
|
75
75
|
inApp: {
|
|
76
76
|
siteId: 'your-site-id', // Required for in-app messaging
|
|
@@ -313,8 +313,8 @@ zixflow_location_enabled=true
|
|
|
313
313
|
|--------|------|----------|-------------|
|
|
314
314
|
| `cdpApiKey` | `string` | ✅ | Your Zixflow API key |
|
|
315
315
|
| `migrationSiteId` | `string` | ❌ | Site ID for migration from older SDKs |
|
|
316
|
-
| `region` | `
|
|
317
|
-
| `logLevel` | `
|
|
316
|
+
| `region` | `ZixflowRegion` | ❌ | US or EU region (default: US) |
|
|
317
|
+
| `logLevel` | `ZixflowLogLevel` | ❌ | Logging verbosity (default: error) |
|
|
318
318
|
| `trackApplicationLifecycleEvents` | `boolean` | ❌ | Auto-track app lifecycle events |
|
|
319
319
|
| `inApp` | `object` | ❌ | In-app messaging configuration |
|
|
320
320
|
| `push` | `object` | ❌ | Push notification configuration |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zixflow-reactnative",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Official Zixflow SDK for React Native. Customer engagement platform built on proven Zixflow technology. Track customers and send messages to your iOS/Android apps.",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|