Skip to content

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

cleanup console.log

ammarahm-ed56ad5c8374fe
diff --git a/apps/mobile/AppRootEvents.js b/apps/mobile/AppRootEvents.js
index a53236e14..0d3627f20 100644
--- a/apps/mobile/AppRootEvents.js
+++ b/apps/mobile/AppRootEvents.js
@@ -220,10 +220,6 @@ export const AppRootEvents = React.memo(
console.log(e);
})
.then(async () => {
- // let receipt = await RNIap.getReceiptIOS();
- // if (receipt) {
- // processReceipt(receipt);
- // }
subsriptionSuccessListener = RNIap.purchaseUpdatedListener(
onSuccessfulSubscription,
);
@@ -234,6 +230,7 @@ export const AppRootEvents = React.memo(
};
const onAccountStatusChange = async userStatus => {
+ console.log('account status',userStatus,PremiumService.get());
if (!PremiumService.get() && userStatus.type === 5) {
eSendEvent(eOpenProgressDialog, {
title: 'Notesnook Pro',
@@ -333,7 +330,6 @@ export const AppRootEvents = React.memo(
const onSuccessfulSubscription = async subscription => {
const receipt = subscription.transactionReceipt;
- console.log(receipt);
if (prevTransactionId === subscription.transactionId) {
return;
}