react-native-app-attestation 0.1.2 → 0.1.3

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,12 +5,6 @@ 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
-
14
8
  android {
15
9
  compileSdkVersion safeExtGet("compileSdkVersion", 34)
16
10
  namespace "com.reactnativeappattestation"
@@ -21,12 +15,12 @@ android {
21
15
  }
22
16
 
23
17
  compileOptions {
24
- sourceCompatibility javaVersion
25
- targetCompatibility javaVersion
18
+ sourceCompatibility safeExtGet("javaVersion", JavaVersion.VERSION_17)
19
+ targetCompatibility safeExtGet("javaVersion", JavaVersion.VERSION_17)
26
20
  }
27
21
 
28
22
  kotlinOptions {
29
- jvmTarget = kotlinJvmTarget
23
+ jvmTarget = safeExtGet("kotlinJvmTarget", "17")
30
24
  }
31
25
  }
32
26
 
@@ -36,7 +30,6 @@ repositories {
36
30
  }
37
31
 
38
32
  dependencies {
39
- // Provided by the host app / React Native Gradle plugin
40
33
  implementation "com.facebook.react:react-android"
41
34
  implementation "com.google.android.play:integrity:1.3.0"
42
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-app-attestation",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
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",