mirror of
https://github.com/zoriya/legend-list.git
synced 2026-08-15 18:44:30 +00:00
23 lines
698 B
JavaScript
23 lines
698 B
JavaScript
const OLD_ARCH = process.env.OLD_ARCH === 'TRUE';
|
|
const RELEASE = process.env.RELEASE === 'TRUE';
|
|
|
|
export default ({ config }) => {
|
|
const bundleIdentifier = `com.legendapp.listtest${OLD_ARCH ? '.o' : ''}${OLD_ARCH ? '.r' : ''}`;
|
|
return {
|
|
...config,
|
|
newArchEnabled: !OLD_ARCH,
|
|
ios: {
|
|
supportsTablet: true,
|
|
bundleIdentifier,
|
|
},
|
|
android: {
|
|
adaptiveIcon: {
|
|
foregroundImage: './assets/images/adaptive-icon.png',
|
|
backgroundColor: '#ffffff',
|
|
},
|
|
package: bundleIdentifier,
|
|
},
|
|
name: `list-test${OLD_ARCH ? '-o' : ''}${RELEASE ? '-r' : ''}`,
|
|
};
|
|
};
|