Skip to content

Commit

Permalink
Merge pull request #4 from prime-zs/alpha
Browse files Browse the repository at this point in the history
* Added Support for Google Play in-App Purchases.
  • Loading branch information
iZakirSheikh authored Aug 21, 2022
2 parents b1c05e5 + d9a9cd8 commit d1c08f8
Show file tree
Hide file tree
Showing 14 changed files with 736 additions and 237 deletions.
17 changes: 11 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId "com.prime.player"
minSdk 21
targetSdk 33
versionCode 7
versionName "1.0.0-beta03"
versionCode 9
versionName "1.0.0-beta04"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down Expand Up @@ -116,13 +116,13 @@ dependencies {
implementation("androidx.room:room-ktx:$room_version")

// The Accompanist Libraries
def accompanist_version = '0.26.0-alpha'
def accompanist_version = '0.26.1-alpha'
implementation "com.google.accompanist:accompanist-insets:$accompanist_version"

//implementation "com.google.accompanist:accompanist-coil:$accompanist_version"
implementation "com.google.accompanist:accompanist-systemuicontroller:$accompanist_version"
implementation "com.google.accompanist:accompanist-navigation-animation:$accompanist_version"
implementation('io.coil-kt:coil-compose:2.1.0')
implementation('io.coil-kt:coil-compose:2.2.0')
implementation "com.google.accompanist:accompanist-permissions:$accompanist_version"

//hilt
Expand All @@ -138,7 +138,7 @@ dependencies {
implementation "com.airbnb.android:lottie-compose:$lottie_version"

// kotlin json serialization library
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0'

//palette to extract image colors
implementation "androidx.palette:palette-ktx:1.0.0"
Expand Down Expand Up @@ -166,7 +166,7 @@ dependencies {
implementation "com.github.levinzonr.compose-safe-routing:accompanist-navigation:$safe_args_version"

// Import the Firebase BoM
implementation platform('com.google.firebase:firebase-bom:30.3.1')
implementation platform('com.google.firebase:firebase-bom:30.3.2')
// Add the dependency for the Firebase SDK for Google Analytics
// When using the BoM, don't specify versions in Firebase dependencies
implementation 'com.google.firebase:firebase-analytics-ktx'
Expand All @@ -189,4 +189,9 @@ dependencies {
def in_app_review = "2.0.0"
implementation("com.google.android.play:review:$in_app_review")
implementation("com.google.android.play:review-ktx:$in_app_review")

// google play in-app billing
def billing_version = "5.0.0"
implementation "com.android.billingclient:billing:$billing_version"
implementation "com.android.billingclient:billing-ktx:$billing_version"
}
Loading

0 comments on commit d1c08f8

Please sign in to comment.