Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
amitshekhariitbhu committed Aug 18, 2024
1 parent f91c301 commit 1dbde7c
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<uses-permission android:name="android.permission.INTERNET" />
Expand All @@ -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());
Expand Down

0 comments on commit 1dbde7c

Please sign in to comment.