Skip to content

Commit

Permalink
Merge pull request #4 from vivekpshaligram/phase-2
Browse files Browse the repository at this point in the history
Phase 2
  • Loading branch information
PranavShahSI authored Oct 17, 2024
2 parents f3f3b9a + 359ac0e commit 1f7e1dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add the dependency

```
dependencies {
implementation 'com.github.vivekpshaligram:sit-common:2.0.2'
implementation 'com.github.vivekpshaligram:sit-common:2.0.3'
}
```

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<application
android:name="com.sit.sociallogin.App"
android:allowBackup="true"
android:allowBackup="false"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
Expand Down
2 changes: 1 addition & 1 deletion sit-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ afterEvaluate {
from (components["release"])
groupId = "com.github.sit"
artifactId = "android-common"
version = "2.0.2"
version = "2.0.3"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ package com.sit.common.model
import com.google.gson.annotations.SerializedName

data class ResponseModel<T>(
@SerializedName("data")
val `data`: T,
val message: String,
@SerializedName("success")
val success: Boolean,
@SerializedName(value = "data", alternate = ["Data"]) val `data`: T,
@SerializedName(value = "message", alternate = ["Message"]) val message: String,
@SerializedName(value = "success", alternate = ["Success"]) val success: Boolean,
)

0 comments on commit 1f7e1dc

Please sign in to comment.