fix(mobile): iOS IAP related adjustments

This commit is contained in:
Mo
2022-11-14 07:50:50 -06:00
parent eba8dbc38c
commit 1c23bc1747
7 changed files with 170 additions and 86 deletions

View File

@@ -205,6 +205,10 @@ export class WebApplication extends SNApplication implements WebApplicationInter
return this.isNativeMobileWeb() && this.platform === Platform.Ios
}
get hideOutboundSubscriptionLinks() {
return this.isNativeIOS()
}
mobileDevice(): MobileDeviceInterface {
if (!this.isNativeMobileWeb()) {
throw Error('Attempting to access device as mobile device on non mobile platform')