Skip to content

Commit

Permalink
chore: ensure we dont package playstore libs in fdroid
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Jan 8, 2025
1 parent 6a1ce17 commit b6ebc5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nativescript.config.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit b6ebc5b

Please sign in to comment.