From 84a8643c4707b5152d495b7714a653d3a0a09562 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Mon, 11 Sep 2023 15:20:12 -0400 Subject: [PATCH 1/2] fix(ios, android): updated wnfs and fula version --- android/build.gradle | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index daf7563..fcdde0d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -94,8 +94,8 @@ dependencies { // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" - implementation 'com.github.functionland:fula-build-aar:v1.13.1' // From jitpack.io - implementation 'com.github.functionland:wnfs-android:v1.8.0' // From jitpack.io + implementation 'com.github.functionland:fula-build-aar:v1.14.3' // From jitpack.io + implementation 'com.github.functionland:wnfs-android:v1.8.1' // From jitpack.io implementation 'commons-io:commons-io:20030203.000550' implementation 'commons-codec:commons-codec:1.15' // implementation files('mobile.aar') diff --git a/package.json b/package.json index d232b15..02bef52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@functionland/react-native-fula", - "version": "1.14.7", + "version": "1.14.8", "description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs", "main": "lib/commonjs/index", "module": "lib/module/index", From 29786d80ec71f8a5c3a82f348ae6e65375842755 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Mon, 11 Sep 2023 15:58:10 -0400 Subject: [PATCH 2/2] updated example --- android/build.gradle | 2 +- android/gradle.properties | 2 +- example/android/app/src/debug/AndroidManifest.xml | 5 ++++- example/android/build.gradle | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index fcdde0d..47e5c83 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,7 +5,7 @@ buildscript { } dependencies { - classpath "com.android.tools.build:gradle:7.2.1" + classpath "com.android.tools.build:gradle:7.2.2" } } diff --git a/android/gradle.properties b/android/gradle.properties index 9c587ad..ec983a6 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,5 +1,5 @@ Fula_kotlinVersion=1.7.0 -Fula_minSdkVersion=21 +Fula_minSdkVersion=26 Fula_targetSdkVersion=31 Fula_compileSdkVersion=31 Fula_ndkversion=21.4.7075529 diff --git a/example/android/app/src/debug/AndroidManifest.xml b/example/android/app/src/debug/AndroidManifest.xml index 4b185bc..472dece 100644 --- a/example/android/app/src/debug/AndroidManifest.xml +++ b/example/android/app/src/debug/AndroidManifest.xml @@ -7,7 +7,10 @@ + tools:ignore="GoogleAppIndexingWarning" + android:allowBackup="false" + tools:replace="android:allowBackup" + > diff --git a/example/android/build.gradle b/example/android/build.gradle index 34ea718..8569757 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -3,7 +3,7 @@ buildscript { ext { buildToolsVersion = "33.0.0" - minSdkVersion = 21 + minSdkVersion = 26 compileSdkVersion = 33 targetSdkVersion = 33