diff --git a/nativescript.config.js b/nativescript.config.js index 0934bba0..c756d9ea 100644 --- a/nativescript.config.js +++ b/nativescript.config.js @@ -1,10 +1,12 @@ const timelineEnabled = !!process.env['NS_TIMELINE']; const sentryEnabled = !!process.env['NS_SENTRY']; const loggingEnabled = !!process.env['NS_LOGGING']; +const playstoreBuild = !!process.env['PLAY_STORE_BUILD']; + const id = process.env['APP_ID']; const CARD_APP = id === 'com.akylas.cardwallet'; module.exports = { - ignoredNativeDependencies: [].concat(sentryEnabled ? [] : ['@nativescript-community/sentry']), + ignoredNativeDependencies: [].concat(sentryEnabled ? [] : ['@nativescript-community/sentry']).concat(playstoreBuild ? [] : ['@akyas/nativescript-inapp-purchase']), id: id || 'com.akylas.documentscanner', appResourcesPath: process.env['APP_RESOURCES'] || 'App_Resources/documentscanner', buildPath: process.env['APP_BUILD_PATH'] || 'build/documentscanner',