Skip to content

Commit b61c1e3

Browse files
committedFeb 25, 2021

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
 

‎CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## 5.2.12
44

5+
- Fixed android receipt validation url.
6+
7+
## 5.2.12
8+
59
- Rebuild again incase of missing pre-build.
610

711
## 5.2.11

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-iap",
3-
"version": "5.2.12",
3+
"version": "5.2.13",
44
"description": "React Native In App Purchase Module.",
55
"main": "index.js",
66
"types": "index.d.ts",

‎src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ export const validateReceiptAndroid = async (
770770
const type = isSub ? 'subscriptions' : 'products';
771771

772772
const url =
773-
'https://www.googleapis.com/androidpublisher/v3/applications' +
773+
'https://androidpublisher.googleapis.com/androidpublisher/v3/applications' +
774774
`/${packageName}/purchases/${type}/${productId}` +
775775
`/tokens/${productToken}?access_token=${accessToken}`;
776776

0 commit comments

Comments
 (0)
Please sign in to comment.