Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix android iap

ammarahm-edb101f42ff014
diff --git a/apps/mobile/app/components/premium/pricing-plans.js b/apps/mobile/app/components/premium/pricing-plans.js
index 52e147aab..0d5705d31 100644
--- a/apps/mobile/app/components/premium/pricing-plans.js
+++ b/apps/mobile/app/components/premium/pricing-plans.js
@@ -149,8 +149,8 @@ export const PricingPlans = ({
product?.productId,
false,
null,
- null,
- null,
+ -1,
+ user.id,
user.id
);
setBuying(false);
diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.json
index 26d32ad19..38e249988 100644
--- a/apps/mobile/package-lock.json
+++ b/apps/mobile/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@notesnook/mobile",
- "version": "2.2.5",
+ "version": "2.2.6",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@notesnook/mobile",
- "version": "2.2.5",
+ "version": "2.2.6",
"license": "GPL-3.0-or-later",
"workspaces": [
"native/",
@@ -15,7 +15,8 @@
"dependencies": {
"fflate": "^0.7.3",
"react-native-actions-shortcuts": "^1.0.1",
- "react-native-fingerprint-scanner": "https://github.com/ammarahm-ed/react-native-fingerprint-scanner.git"
+ "react-native-fingerprint-scanner": "https://github.com/ammarahm-ed/react-native-fingerprint-scanner.git",
+ "react-native-iap": "7.5.6"
},
"devDependencies": {
"patch-package": "^6.4.7",
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index b32f8f86a..44f89c73b 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -32,6 +32,7 @@
"@notesnook/editor-mobile": "*",
"fflate": "^0.7.3",
"react-native-actions-shortcuts": "^1.0.1",
- "react-native-fingerprint-scanner": "https://github.com/ammarahm-ed/react-native-fingerprint-scanner.git"
+ "react-native-fingerprint-scanner": "https://github.com/ammarahm-ed/react-native-fingerprint-scanner.git",
+ "react-native-iap":"7.5.6"
}
}
\ No newline at end of file