Skip to content

Commit

Permalink
Merge pull request #182 from chargebee/bl6-upgrade-next
Browse files Browse the repository at this point in the history
feat: update google client from 5 to 6
  • Loading branch information
cb-haripriyan authored Jul 20, 2024
2 parents 1baf8a3 + cb4cf83 commit 9c2ca11
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@ jobs:
npm config set //registry.npmjs.com/:_authToken=$NPM_TOKEN
npm config list
env:
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN }}
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }}
- name: Yarn Tests
run: yarn test
- name: Pre-Release package
if: github.ref == 'refs/heads/next'
run: npm run release -- --ci --preRelease=beta -VV
env:
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN }}
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release package
if: github.ref == 'refs/heads/master'
run: npm run release -- --ci -VV
env:
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN }}
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create PR for package.json and changelogs
run: |
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
![Latest Release](https://github.com/chargebee/chargebee-react-native/actions/workflows/release.yml/badge.svg?branch=master)

> [!NOTE]
> #### Updates for Billing Library 5
> - SDK Version 3.0: This version uses Google Billing Library 5.2.1 APIs to fetch product information from the Google Play Console and make purchases. If you’re integrating Chargebee’s SDK for the first time, then use this version, and if you’re migrating from the older version of SDK to this version, follow the migration steps in this [document](https://www.chargebee.com/docs/2.0/mobile-playstore-billing-library-5.html).
> - SDK Version 2.4.4: This [version](https://github.com/chargebee/chargebee-react-native/tree/master) includes Billing Library 5.2.1 but still uses Billing Library 4.0 APIs to fetch product information from the Google Play Console and make purchases. This will enable you to list or update your Android app on the store without any warnings from Google and give you enough time to migrate to version 2.0.
> #### Updates for Billing Library 6
> - SDK Version 3.0: This version includes Google Billing Library 6.2.1 but uses Google Billing Library 5.2.1 APIs to fetch product information from the Google Play Console and make purchases. If you’re integrating Chargebee’s SDK for the first time, then use this version, and if you’re migrating from the older version of SDK to this version, follow the migration steps in this [document](https://www.chargebee.com/docs/2.0/mobile-playstore-billing-library-5.html).
> - SDK Version 2.4.4: This [version](https://github.com/chargebee/chargebee-react-native/tree/master) includes Billing Library 6.2.1 but still uses Billing Library 4.0 APIs to fetch product information from the Google Play Console and make purchases. This will enable you to list or update your Android app on the store without any warnings from Google and give you enough time to migrate to version 2.0.

Introduction
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'com.chargebee:chargebee-android:2.0.0-beta-1'
implementation 'com.android.billingclient:billing-ktx:5.2.1'
implementation 'com.chargebee:chargebee-android:2.0.0-beta-4'
implementation 'com.android.billingclient:billing-ktx:6.2.1'
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
}

Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ChargebeeReactNative_kotlinVersion=1.7.0
ChargebeeReactNative_kotlinVersion=1.9.0
ChargebeeReactNative_minSdkVersion=21
ChargebeeReactNative_targetSdkVersion=31
ChargebeeReactNative_compileSdkVersion=31
Expand Down

0 comments on commit 9c2ca11

Please sign in to comment.