@amplitude/plugin-session-replay-react-native 0.4.2 → 0.4.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.
@@ -90,8 +90,8 @@ repositories {
90
90
  def kotlin_version = getExtOrDefault("kotlinVersion")
91
91
 
92
92
  dependencies {
93
- implementation("com.amplitude:session-replay-android:0.20.6")
94
- implementation("com.amplitude:analytics-android:1.21.1")
93
+ implementation("com.amplitude:session-replay-android:[0.22.0]")
94
+ implementation("com.amplitude:analytics-android:[1.22.4]")
95
95
 
96
96
  // For < 0.71, this will be from the local maven repo
97
97
  // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
@@ -20,7 +20,7 @@ class PluginSessionReplayReactNativeModule(private val reactContext: ReactApplic
20
20
  }
21
21
 
22
22
  @ReactMethod
23
- fun setup(apiKey: String, deviceId: String?, sessionId: Double, serverZone: String, sampleRate: Double, enableRemoteConfig: Boolean, logLevel: Int, autoStart: Boolean) {
23
+ fun setup(apiKey: String, deviceId: String?, sessionId: Double, serverZone: String?, sampleRate: Double, enableRemoteConfig: Boolean, logLevel: Int, autoStart: Boolean) {
24
24
  LogcatLogger.logger.logMode = when (logLevel) {
25
25
  0 -> Logger.LogMode.OFF
26
26
  1 -> Logger.LogMode.ERROR
@@ -35,7 +35,7 @@ class PluginSessionReplayReactNativeModule(private val reactContext: ReactApplic
35
35
  API Key: $apiKey
36
36
  Device Id: $deviceId
37
37
  Session Id: $sessionId
38
- Server Zone: $serverZone
38
+ Server Zone: ${serverZone ?: "NULL"}
39
39
  Sample Rate: $sampleRate
40
40
  Enable Remote Config: $enableRemoteConfig
41
41
  Log Level: $logLevel
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VERSION = void 0;
7
- const VERSION = exports.VERSION = '0.4.2';
7
+ const VERSION = exports.VERSION = '0.4.4';
8
8
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.4.2';
1
+ export const VERSION = '0.4.4';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.4.2";
1
+ export declare const VERSION = "0.4.4";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplitude/plugin-session-replay-react-native",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Amplitude Session Replay plugin for React Native",
5
5
  "keywords": [
6
6
  "analytics",
@@ -92,5 +92,5 @@
92
92
  ]
93
93
  ]
94
94
  },
95
- "gitHead": "d299a4334ecb462471860d77f8aaaf6be5b27bdc"
95
+ "gitHead": "7c5687aa0e3527c3769a38858d887e51fdf85c06"
96
96
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.4.2';
1
+ export const VERSION = '0.4.4';