Skip to content

Commit 8badab6

Browse files
committed
updated applicationName for all envs + platforms
1 parent a0cc790 commit 8badab6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cli/bundler/update-preset.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ const updateAndroidPreset = (env, preset, bundle, bundleId, applicationName, bun
4444
updateMain(preset, 'export_path', `_build/android/${bundleName}${androidExtension(env)}`);
4545
console.log(`options:`);
4646

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

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

117-
const applicationName = subtitle
116+
const _applicationName = subtitle
118117
? `${coreConfig.applicationName}: ${subtitle}`
119118
: coreConfig.applicationName;
120119

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

123123
switch (platform) {

fox/stores/playstore.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func purchase(sku):
132132
Router.showLoader()
133133
var response = playStore.purchase(sku)
134134
if response.status != OK:
135-
G.log('🔴 Purchase error %s: %s' % [
135+
G.log('🔴 Purchase could not be sent: error %s: %s' % [
136136
response.response_code,
137137
response.debug_message
138138
])

0 commit comments

Comments
 (0)