Wondering if anyone has seen this.
I’m getting the following error when trying to build with the ios platform:
Error while building for mobile platforms: Unexpected token A
Using this mobile-config.js:
App.info({
'id': 'TBD',
'name': 'TBD',
'description': 'TBD',
'author': 'TBD',
'email': 'support@text.com',
'website': 'https://test.com'
});
App.icons({
'iphone': 'public/app/icons/ios-icon-60x60.png',
'iphone_2x': 'public/app/icons/ios-icon-120x120.png',
'iphone_3x': 'public/app/icons/ios-icon-180x180.png',
'ipad': 'public/app/icons/ios-icon-60x60.png',
'ipad_2x': 'public/app/icons/ios-icon-120x120.png'
});
App.launchScreens({
'iphone': 'public/app/startup/apple-touch-startup-image-640x1096.png',
'iphone_2x': 'public/app/startup/apple-touch-startup-image-640x1096.png',
'iphone5': 'public/app/startup/apple-touch-startup-image-640x1096.png',
'iphone6': 'public/app/startup/apple-touch-startup-image-750x1294.png',
'iphone6p_portrait': 'public/app/startup/apple-touch-startup-image-1242x2148.png',
'iphone6p_landscape': 'public/app/startup/apple-touch-startup-image-1182x2208.png',
'ipad_portrait': 'public/app/startup/apple-touch-startup-image-768x1004.png',
'ipad_portrait_2x': 'public/app/startup/apple-touch-startup-image-1536x2008.png',
'ipad_landscape': 'public/app/startup/apple-touch-startup-image-748x1024.png',
'ipad_landscape_2x': 'public/app/startup/apple-touch-startup-image-1496x2048.png'
});
App.setPreference('BackgroundColor', '0xff0000ff');
App.setPreference('HideKeyboardFormAccessoryBar', true);
App.setPreference('DisallowOverscroll', true);
App.setPreference('Fullscreen', true);
App.setPreference('Orientation', 'portrait');