Skip to content

Commit

Permalink
chore: support __INAPP_PURCHASE_ID_PREFIX__
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Jan 16, 2025
1 parent f00f8ef commit f689fa8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
1 change: 1 addition & 0 deletions app.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ module.exports = (env, params = {}) => {
CARD_APP: appId === 'com.akylas.cardwallet',
SUPPORTED_LOCALES: JSON.stringify(supportedLocales),
SUPPORTED_COLOR_THEMES: JSON.stringify(supportedColorThemes),
__INAPP_PURCHASE_ID_PREFIX__: `"1"`,
FALLBACK_LOCALE: `"${locale}"`,
DEFAULT_THEME: `"${theme}"`,
START_ON_CAM: startOnCam,
Expand Down
2 changes: 1 addition & 1 deletion tools
27 changes: 0 additions & 27 deletions typings/references.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
/// <reference path="../node_modules/@nativescript/types-android/lib/android-30.d.ts" />
/// <reference path="../node_modules/@nativescript/types-android/lib/android/android-declarations.d.ts" />
/// <reference path="../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!UIKit.d.ts" />
/// <reference path="../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!Foundation.d.ts" />
/// <reference path="../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!ObjectiveC.d.ts" />
/// <reference path="../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!UniformTypeIdentifiers.d.ts" />
/// <reference path="../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!LinkPresentation.d.ts" />
/// <reference path="../node_modules/@nativescript/core/global-types.d.ts" />
/// <reference path="../node_modules/@nativescript/types-ios/lib/ios/interop.d.ts" />
/// <reference path="../node_modules/@akylas/nativescript-app-utils/typings/ios.d.ts" />

// for nativeprocessor
/// <reference path="../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!CoreGraphics.d.ts" />
Expand All @@ -20,24 +12,5 @@
/// <reference path="../node_modules/@nativescript-community/ui-cameraview/typings/android.d.ts" />
/// <reference path="../node_modules/@nativescript-community/ui-document-picker/typings/android.d.ts" />

declare const TNS_ENV: string;
declare const DEV_LOG: boolean;
declare const START_ON_CAM: boolean;
declare const NO_CONSOLE: boolean;
declare const TEST_LOG: boolean;
declare const PRODUCTION: boolean;
declare const CARD_APP: boolean;
declare const SENTRY_ENABLED: boolean;
declare const SENTRY_DSN: string;
declare const SENTRY_PREFIX: string;
declare const SUPPORTED_LOCALES: string[];
declare const FALLBACK_LOCALE: string;
declare const DEFAULT_THEME: string;
declare const GIT_URL: string;
declare const STORE_LINK: string;
declare const PLAY_STORE_BUILD: boolean;
declare const STORE_REVIEW_LINK: string;
declare const SPONSOR_URL: string;
declare const __APP_ID__: string;
declare const __APP_VERSION__: string;
declare const __APP_BUILD_NUMBER__: number;

0 comments on commit f689fa8

Please sign in to comment.