From 1dbde7c06c2e15f9359f099108c7a680128b8368 Mon Sep 17 00:00:00 2001 From: amitshekhariitbhu Date: Sun, 18 Aug 2024 22:48:54 +0530 Subject: [PATCH] Update version --- README.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0e7906f..59db661 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,26 @@ Fast Android Networking Library supports Android 2.3 (Gingerbread) and later. ## Using Fast Android Networking Library in your application -Add this in your build.gradle +Add this in your `settings.gradle`: ```groovy -implementation 'com.amitshekhar.android:android-networking:1.0.2' +maven { url 'https://jitpack.io' } ``` + +If you are using `settings.gradle.kts`, add the following: +```kotlin +maven { setUrl("https://jitpack.io") } +``` + +Add this in your `build.gradle` +```groovy +implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.3' +``` + +If you are using `build.gradle.kts`, add the following: +```kotlin +implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.3") +``` + Do not forget to add internet permission in manifest if already not present ```xml @@ -68,10 +84,19 @@ OkHttpClient okHttpClient = new OkHttpClient() .newBuilder() .build(); AndroidNetworking.initialize(getApplicationContext(),okHttpClient); ``` + Using the Fast Android Networking with Jackson Parser + +Add this in your `build.gradle` ```groovy -implementation 'com.amitshekhar.android:jackson-android-networking:1.0.2' +implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.3' ``` + +If you are using `build.gradle.kts`, add the following: +```kotlin +implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.3") +``` + ```java // Then set the JacksonParserFactory like below AndroidNetworking.setParserFactory(new JacksonParserFactory());