From e029d09157ea6e1b21188143da180346d9dee4b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktoras=20Laukevi=C4=8Dius?= Date: Mon, 5 Aug 2024 14:43:08 +0300 Subject: [PATCH] Update requirements in readme --- README.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 02ab85c..d6d8617 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,28 @@ Argyle Link React Native SDK provides a way to integrate [Argyle Link](https://a If you are looking to update Argyle Link to the newest version, navigate to [upgrade guide](UPGRADING.md). -- Required react-native version 0.65.x+ +- Required react-native version 0.73.0+ **Requirements for iOS:** -- The minimum deployment target needs to be at least 14.0 +- iOS 14.0+ +- Xcode 14.0+ +- Swift 5.5+ **Requirements for Android:** -- The `minSdkVersion` need to be at least `26` -- Android 8.0 (API level 26)+ -- Kotlin 1.8.0+ -- Android Gradle Plugin 7.2+ -- Gradle 8.3+ +Set the `minSdkVersion` in `android/app/build.gradle`: + +``` +android { + compileSdk 34 + defaultConfig { + minSdk 26 + ... + } + ... +} +``` **Important:** When using tools like Proguard to obfuscate your code, make sure to exclude Android Link SDK package (`com.argyle.*`) from the process, it may cause unexpected runtime issues otherwise. You can do this by adding this line to your `proguard-rules.pro:-keep class com.argyle. { *; }`