@amplitude/plugin-session-replay-react-native 0.5.0-sr-perf-reliability-rc.0 → 0.5.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.
@@ -7,6 +7,16 @@ def isNewArchitectureEnabled() {
7
7
  return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
8
8
  }
9
9
 
10
+ // Gradle configures projects alphabetically, so this project sorts before ':app'.
11
+ // If the app doesn't apply RN's 'com.facebook.react.rootproject' plugin, the RN gradle
12
+ // plugin's jvmToolchain(17) sweep reaches this project after AGP has already finalized
13
+ // its Java toolchain, failing with "property 'languageVersion' is final" (issue #1510).
14
+ // Configuring ':app' first (as rootproject would) keeps the sweep ahead of finalization.
15
+ // When the app already applies that plugin, this block is a harmless no-op (both force ':app' first).
16
+ if (findProject(':app') != null) {
17
+ evaluationDependsOn(':app')
18
+ }
19
+
10
20
  apply plugin: "com.android.library"
11
21
  apply plugin: "kotlin-android"
12
22
 
@@ -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.5.0-sr-perf-reliability-rc.0';
7
+ const VERSION = exports.VERSION = '0.5.1';
8
8
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VERSION","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,gCAAgC","ignoreList":[]}
1
+ {"version":3,"names":["VERSION","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,OAAO","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.5.0-sr-perf-reliability-rc.0';
1
+ export const VERSION = '0.5.1';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VERSION"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,gCAAgC","ignoreList":[]}
1
+ {"version":3,"names":["VERSION"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,OAAO","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.5.0-sr-perf-reliability-rc.0";
1
+ export declare const VERSION = "0.5.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,mCAAmC,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplitude/plugin-session-replay-react-native",
3
- "version": "0.5.0-sr-perf-reliability-rc.0",
3
+ "version": "0.5.1",
4
4
  "description": "Amplitude Session Replay plugin for React Native",
5
5
  "keywords": [
6
6
  "analytics",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.5.0-sr-perf-reliability-rc.0';
1
+ export const VERSION = '0.5.1';