Skip to content

Commit

Permalink
updated applicationName for all envs + platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdugne committed Apr 26, 2024
1 parent a0cc790 commit 8badab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cli/bundler/update-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ const updateAndroidPreset = (env, preset, bundle, bundleId, applicationName, bun
updateMain(preset, 'export_path', `_build/android/${bundleName}${androidExtension(env)}`);
console.log(`options:`);

const _applicationName = `${applicationName}${env === 'release' ? '' : `(${env})`}`;
updateOptions(preset, 'package/name', _applicationName);
updateOptions(preset, 'package/name', applicationName);

const packageUIDKey = 'package/unique_name';
const packageUID = (bundle[ANDROID] && bundle[ANDROID][packageUIDKey]) || bundle.uid;
Expand Down Expand Up @@ -114,10 +113,11 @@ const updatePreset = (bundleId, env, coreConfig, preset, bundle) => {
console.log('⚙️ updating the preset:');
const {subtitle} = bundle;

const applicationName = subtitle
const _applicationName = subtitle
? `${coreConfig.applicationName}: ${subtitle}`
: coreConfig.applicationName;

const applicationName = `${_applicationName}${env === 'release' ? '' : `(${env})`}`;
const bundleName = `${bundleId}${env === 'release' ? '' : `-${env}`}`;

switch (platform) {
Expand Down
2 changes: 1 addition & 1 deletion fox/stores/playstore.gd
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func purchase(sku):
Router.showLoader()
var response = playStore.purchase(sku)
if response.status != OK:
G.log('🔴 Purchase error %s: %s' % [
G.log('🔴 Purchase could not be sent: error %s: %s' % [
response.response_code,
response.debug_message
])
Expand Down

0 comments on commit 8badab6

Please sign in to comment.