react-native-app-attestation 0.1.1 → 0.1.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.
@@ -5,6 +5,12 @@ def safeExtGet(prop, fallback) {
5
5
  return rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
6
6
  }
7
7
 
8
+ def javaVersion = safeExtGet("javaVersion", JavaVersion.VERSION_17)
9
+ def kotlinJvmTarget = safeExtGet(
10
+ "kotlinJvmTarget",
11
+ javaVersion == JavaVersion.VERSION_1_8 ? "1.8" : "17"
12
+ )
13
+
8
14
  android {
9
15
  compileSdkVersion safeExtGet("compileSdkVersion", 34)
10
16
  namespace "com.reactnativeappattestation"
@@ -15,12 +21,12 @@ android {
15
21
  }
16
22
 
17
23
  compileOptions {
18
- sourceCompatibility JavaVersion.VERSION_1_8
19
- targetCompatibility JavaVersion.VERSION_1_8
24
+ sourceCompatibility javaVersion
25
+ targetCompatibility javaVersion
20
26
  }
21
27
 
22
28
  kotlinOptions {
23
- jvmTarget = "1.8"
29
+ jvmTarget = kotlinJvmTarget
24
30
  }
25
31
  }
26
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-app-attestation",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Mobile app attestation for React Native — Android Play Integrity & iOS App Attest",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",