@umbra-privacy/rn-zk-prover 2.0.2 → 2.1.0
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/MoproFfi.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/create-android-jnilibs-zip.sh +1 -1
- package/android/zip.sh +11 -0
- package/package.json +1 -1
package/MoproFfi.podspec
CHANGED
|
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.source = { :git => "https://github.com/zkmopro/react-native-app.git", :tag => "#{s.version}" }
|
|
17
17
|
|
|
18
18
|
# Download xcframework from CloudFront
|
|
19
|
-
xcframework_url = "https://d3j9fjdkre529f.cloudfront.net/
|
|
19
|
+
xcframework_url = "https://d3j9fjdkre529f.cloudfront.net/v2/static/MoproBindings.xcframework.zip"
|
|
20
20
|
s.prepare_command = <<-CMD
|
|
21
21
|
set -e
|
|
22
22
|
|
|
@@ -38,7 +38,7 @@ Pod::Spec.new do |s|
|
|
|
38
38
|
|
|
39
39
|
echo "▶︎ Downloading MoproBindings.xcframework…"
|
|
40
40
|
curl -L -o MoproBindings.xcframework.zip \
|
|
41
|
-
"https://d3j9fjdkre529f.cloudfront.net/
|
|
41
|
+
"https://d3j9fjdkre529f.cloudfront.net/v2/static/MoproBindings.xcframework.zip"
|
|
42
42
|
|
|
43
43
|
echo "▶︎ Unzipping…"
|
|
44
44
|
unzip -o MoproBindings.xcframework.zip
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by uniffi-bindgen-react-native
|
|
2
2
|
|
|
3
3
|
// Download prebuilt jniLibs from CloudFront
|
|
4
|
-
def androidJniLibsUrl = "https://d3j9fjdkre529f.cloudfront.net/
|
|
4
|
+
def androidJniLibsUrl = "https://d3j9fjdkre529f.cloudfront.net/v2/static/MoproBindings-android-jniLibs.zip"
|
|
5
5
|
def jniLibsDir = file("${projectDir}/src/main/jniLibs")
|
|
6
6
|
|
|
7
7
|
|
|
@@ -84,7 +84,7 @@ android {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
ndk {
|
|
87
|
-
abiFilters "arm64-v8a"
|
|
87
|
+
abiFilters "arm64-v8a"
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
package/android/zip.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
# Create MoproBindings-android-jniLibs.zip for upload to CloudFront.
|
|
3
|
+
# Run from anywhere: android/create-android-jnilibs-zip.sh
|
|
4
|
+
# Output: android/MoproBindings-android-jniLibs.zip
|
|
5
|
+
|
|
6
|
+
set -e
|
|
7
|
+
ANDROID_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
8
|
+
ZIP_OUT="$ANDROID_DIR/MoproBindings-android-jniLibs.zip"
|
|
9
|
+
cd "$ANDROID_DIR/src/main/jniLibs"
|
|
10
|
+
zip -r "$ZIP_OUT" arm64-v8a
|
|
11
|
+
echo "Created $ZIP_OUT"
|
package/package.json
CHANGED