@amplitude/plugin-session-replay-react-native 0.5.0 → 0.5.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/android/build.gradle +19 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/android/build.gradle
CHANGED
|
@@ -7,8 +7,26 @@ 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
|
+
// AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
|
|
22
|
+
// itself. Applying the Kotlin plugin on top of it fails configuration with
|
|
23
|
+
// "Cannot add extension with name 'kotlin'". Asking for the extension covers
|
|
24
|
+
// every way built-in Kotlin can be turned on -- the global default, the
|
|
25
|
+
// android.builtInKotlin property, and the per-module com.android.built-in-kotlin
|
|
26
|
+
// plugin -- without reading an AGP version number.
|
|
27
|
+
if (project.extensions.findByName('kotlin') == null) {
|
|
28
|
+
apply plugin: "kotlin-android"
|
|
29
|
+
}
|
|
12
30
|
|
|
13
31
|
if (isNewArchitectureEnabled()) {
|
|
14
32
|
apply plugin: "com.facebook.react"
|
package/lib/commonjs/version.js
CHANGED
package/lib/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.5.
|
|
1
|
+
export const VERSION = '0.5.2';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.5.
|
|
1
|
+
export declare const VERSION = "0.5.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.5.
|
|
1
|
+
export const VERSION = '0.5.2';
|