react-native-zcash 0.3.2 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # React Native Zcash
2
2
 
3
+ ## 0.3.3 (2023-06-22)
4
+
5
+ - fixed: Update the Android build.gradle to use the upstream-specified Kotlin version and upstream-specified appcompat library version.
6
+
3
7
  ## 0.3.2 (2022-12-20)
4
8
 
5
9
  - getBirthdayHeight: Remove Android specific network name and use host and port for both platforms
@@ -1,26 +1,15 @@
1
1
  buildscript {
2
- ext.versions = [
3
- 'kotlin': '1.5.0',
4
- 'zcash': '1.5.0-beta01',
5
- 'room': '2.3.0'
6
- ]
7
- repositories {
8
- mavenLocal()
9
- google()
10
- mavenCentral()
11
- jcenter()
12
- maven {
13
- url 'https://jitpack.io'
14
- }
15
- maven {
16
- url "https://plugins.gradle.org/m2/"
17
- }
18
- }
2
+ def kotlinVersion = rootProject.ext.has('kotlinVersion')
3
+ ? rootProject.ext.get('kotlinVersion')
4
+ : '1.5.20'
19
5
 
20
- dependencies {
21
- classpath 'com.android.tools.build:gradle:4.0.2'
22
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
23
- }
6
+ repositories {
7
+ mavenCentral()
8
+ google()
9
+ }
10
+ dependencies {
11
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
12
+ }
24
13
  }
25
14
 
26
15
  apply plugin: 'com.android.library'
@@ -31,26 +20,11 @@ def safeExtGet(prop, fallback) {
31
20
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
32
21
  }
33
22
 
34
- def DEFAULT_COMPILE_SDK_VERSION = 28
35
- def DEFAULT_BUILD_TOOLS_VERSION = "28.0.2"
36
- def DEFAULT_MIN_SDK_VERSION = 19
37
- def DEFAULT_TARGET_SDK_VERSION = 27
38
-
39
23
  android {
40
- compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
41
- buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
42
- compileOptions {
43
- sourceCompatibility JavaVersion.VERSION_1_8
44
- targetCompatibility JavaVersion.VERSION_1_8
45
- }
46
- kotlinOptions {
47
- jvmTarget = JavaVersion.VERSION_1_8
48
- }
24
+ compileSdkVersion safeExtGet('compileSdkVersion', 32)
49
25
  defaultConfig {
50
- minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
51
- targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
52
- versionCode 1
53
- versionName "1.0"
26
+ minSdkVersion safeExtGet('minSdkVersion', 23)
27
+ targetSdkVersion safeExtGet('targetSdkVersion', 32)
54
28
  }
55
29
  lintOptions {
56
30
  abortOnError false
@@ -58,32 +32,22 @@ android {
58
32
  }
59
33
 
60
34
  repositories {
61
- mavenLocal()
62
- google()
63
- jcenter()
64
- // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
65
35
  maven {
66
- url("../node_modules/react-native/android")
36
+ url('../node_modules/react-native/android')
67
37
  }
38
+ google()
39
+ mavenCentral()
68
40
  }
69
41
 
70
42
  dependencies {
71
- // React-Native
72
- implementation 'com.facebook.react:react-native:+'
73
-
74
- // Zcash
75
- implementation "cash.z.ecc.android:zcash-android-sdk:${versions.zcash}"
76
-
77
- // Process Room annotations
78
- kapt "androidx.room:room-compiler:${versions.room}"
43
+ implementation 'com.facebook.react:react-native:+'
79
44
 
80
- implementation "androidx.paging:paging-runtime-ktx:2.1.2"
81
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9"
82
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"
45
+ // Compiler plugin for Room annotation support:
46
+ kapt 'androidx.room:room-compiler:2.3.0'
83
47
 
84
- implementation ("androidx.appcompat:appcompat:1.3.1") {
85
- version {
86
- strictly '1.3.1'
87
- }
88
- }
48
+ implementation 'androidx.appcompat:appcompat:1.4.1'
49
+ implementation 'androidx.paging:paging-runtime-ktx:2.1.2'
50
+ implementation 'cash.z.ecc.android:zcash-android-sdk:1.5.0-beta01'
51
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
52
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
89
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-zcash",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Zcash library for React Native",
5
5
  "homepage": "https://github.com/EdgeApp/react-native-zcash",
6
6
  "repository": {
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>RNZcash.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>28</integer>
11
- </dict>
12
- </dict>
13
- <key>SuppressBuildableAutocreation</key>
14
- <dict>
15
- <key>58B511DA1A9E6C8500147676</key>
16
- <dict>
17
- <key>primary</key>
18
- <true/>
19
- </dict>
20
- </dict>
21
- </dict>
22
- </plist>