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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +6 -6
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Customer IO
3
+ Copyright (c) 2022 Zixflow
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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
- CioLogLevel,
65
- CioRegion,
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: CioRegion.US, // Or CioRegion.EU
73
- logLevel: CioLogLevel.debug,
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` | `CioRegion` | ❌ | US or EU region (default: US) |
317
- | `logLevel` | `CioLogLevel` | ❌ | Logging verbosity (default: error) |
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.0",
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",