Skip to content

Commit 3f4135d

Browse files
committed
Merge branch 'ios-subscription' into dev
2 parents b053009 + 4b62ba6 commit 3f4135d

File tree

17 files changed

+158
-36
lines changed

17 files changed

+158
-36
lines changed

apps/client/src-capacitor/android/app/capacitor.build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies {
1212
implementation project(':capacitor-app')
1313
implementation project(':capacitor-clipboard')
1414
implementation project(':capacitor-splash-screen')
15+
implementation project(':revenuecat-purchases-capacitor')
1516

1617
}
1718

apps/client/src-capacitor/android/app/src/main/assets/capacitor.plugins.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@
1010
{
1111
"pkg": "@capacitor/splash-screen",
1212
"classpath": "com.capacitorjs.plugins.splashscreen.SplashScreenPlugin"
13+
},
14+
{
15+
"pkg": "@revenuecat/purchases-capacitor",
16+
"classpath": "com.revenuecat.purchases.capacitor.PurchasesPlugin"
1317
}
1418
]

apps/client/src-capacitor/android/capacitor.settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ project(':capacitor-clipboard').projectDir = new File('../../../../node_modules/
1010

1111
include ':capacitor-splash-screen'
1212
project(':capacitor-splash-screen').projectDir = new File('../../../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/splash-screen/android')
13+
14+
include ':revenuecat-purchases-capacitor'
15+
project(':revenuecat-purchases-capacitor').projectDir = new File('../../../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@revenuecat/purchases-capacitor/android')

apps/client/src-capacitor/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
360360
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
361361
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
362-
MARKETING_VERSION = 1.0.8;
362+
MARKETING_VERSION = 1.0.15;
363363
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
364364
PRODUCT_BUNDLE_IDENTIFIER = app.deepnotes;
365365
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -386,7 +386,7 @@
386386
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
387387
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
388388
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
389-
MARKETING_VERSION = 1.0.8;
389+
MARKETING_VERSION = 1.0.15;
390390
PRODUCT_BUNDLE_IDENTIFIER = app.deepnotes;
391391
PRODUCT_NAME = "$(TARGET_NAME)";
392392
PROVISIONING_PROFILE_SPECIFIER = "";

apps/client/src-capacitor/ios/App/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def capacitor_pods
1414
pod 'CapacitorApp', :path => '../../../../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/app'
1515
pod 'CapacitorClipboard', :path => '../../../../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/clipboard'
1616
pod 'CapacitorSplashScreen', :path => '../../../../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@capacitor/splash-screen'
17+
pod 'RevenuecatPurchasesCapacitor', :path => '../../../../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@revenuecat/purchases-capacitor'
1718
end
1819

1920
target 'App' do

apps/client/src-capacitor/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"@capacitor/clipboard": "^5.0.6",
1111
"@capacitor/core": "^5.5.1",
1212
"@capacitor/ios": "^5.5.1",
13-
"@capacitor/splash-screen": "^5.0.6"
13+
"@capacitor/splash-screen": "^5.0.6",
14+
"@revenuecat/purchases-capacitor": "^7.1.1"
1415
},
1516
"private": true
1617
}

apps/client/src/layouts/HomeLayout/Footer.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
<div class="footer-header">Product</div>
4242

4343
<router-link
44-
v-if="!($q.platform.is.capacitor && $q.platform.is.ios)"
4544
:to="{ name: 'pricing' }"
4645
class="footer-item"
4746
>

apps/client/src/layouts/HomeLayout/Header/Header.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
<Gap style="width: 32px" />
8181

8282
<DeepBtn
83-
v-if="!($q.platform.is.capacitor && $q.platform.is.ios)"
8483
label="Pricing"
8584
flat
8685
class="toolbar-btn"

apps/client/src/layouts/HomeLayout/Header/RightButtons/RightMenu.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464

6565
<template v-if="uiStore().width < BREAKPOINT_LG_MIN">
6666
<q-item
67-
v-if="!($q.platform.is.capacitor && $q.platform.is.ios)"
6867
clickable
6968
:to="{ name: 'pricing' }"
7069
>

apps/client/src/layouts/PagesLayout/MainContent/DisplayPage/DisplayScreens/DisplayNonFreePageScreen.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
<div>This page was created with the Pro plan.</div>
33
<div>Upgrade your subscription to access this page.</div>
44

5-
<template v-if="!($q.platform.is.capacitor && $q.platform.is.ios)">
6-
<Gap style="height: 16px" />
5+
<Gap style="height: 16px" />
76

8-
<DeepBtn
9-
label="See subscription plans"
10-
color="primary"
11-
:href="multiModePath('/pricing')"
12-
/>
13-
</template>
7+
<DeepBtn
8+
label="See subscription plans"
9+
color="primary"
10+
:href="multiModePath('/pricing')"
11+
/>
1412
</template>
1513

1614
<script setup lang="ts">

0 commit comments

Comments
 (0)