diff --git a/example/src/app/main.ts b/example/src/app/main.ts index a6be591..86f9305 100644 --- a/example/src/app/main.ts +++ b/example/src/app/main.ts @@ -10,7 +10,6 @@ import { showToast, setLoading } from './utils'; import { renderMainScreen } from './screens/MainScreen'; import { renderProductsScreen } from './screens/ProductsScreen'; import { renderEntitlementsScreen } from './screens/EntitlementsScreen'; -import { renderOfferingsScreen } from './screens/OfferingsScreen'; import { renderRemoteConfigsScreen } from './screens/RemoteConfigsScreen'; import { renderUserScreen } from './screens/UserScreen'; import { renderNoCodesScreen } from './screens/NoCodesScreen'; @@ -23,7 +22,6 @@ const screenRenderers: Record string> = { main: renderMainScreen, products: renderProductsScreen, entitlements: renderEntitlementsScreen, - offerings: renderOfferingsScreen, remoteConfigs: renderRemoteConfigsScreen, user: renderUserScreen, noCodes: renderNoCodesScreen, @@ -36,7 +34,6 @@ const screenTitles: Record = { main: 'Qonversion SDK Demo', products: 'Products', entitlements: 'Entitlements', - offerings: 'Offerings', remoteConfigs: 'Remote Configs', user: 'User', noCodes: 'No-Codes', @@ -49,13 +46,6 @@ function renderMoreScreen(): string {

Additional Features

-
-
-
📋 Offerings
-
View available offerings and products
-
- -
⚙️ Remote Configs
@@ -196,7 +186,7 @@ function updateNavigation(): void { navItems.forEach(item => { const screen = item.getAttribute('data-screen'); item.classList.toggle('active', screen === currentScreen || - (screen === 'more' && ['offerings', 'remoteConfigs', 'noCodes', 'other'].includes(currentScreen))); + (screen === 'more' && ['remoteConfigs', 'noCodes', 'other'].includes(currentScreen))); }); // Update header @@ -241,9 +231,6 @@ function setupScreenEventListeners(screen: string): void { case 'entitlements': import('./screens/EntitlementsScreen').then(m => m.setupEntitlementsScreenEvents?.()); break; - case 'offerings': - import('./screens/OfferingsScreen').then(m => m.setupOfferingsScreenEvents?.()); - break; case 'remoteConfigs': import('./screens/RemoteConfigsScreen').then(m => m.setupRemoteConfigsScreenEvents?.()); break; diff --git a/example/src/app/screens/MainScreen.ts b/example/src/app/screens/MainScreen.ts index dc50ed6..86efe3b 100644 --- a/example/src/app/screens/MainScreen.ts +++ b/example/src/app/screens/MainScreen.ts @@ -51,10 +51,6 @@ export function renderMainScreen(): string { 🎫 Entitlements
-