not working after cordova-ios 4.5.4
cordovaCLI 7.1.0 cordova-ios 4.5.4
What is not working? Are you getting an error?
cordovaCLI 7.1.0 cordova-ios 4.5.4
MacBook-Pro:cordova zuoge85$ cordova platform rm ios && cordova platform add ios Removing platform ios from config.xml file... Removing ios from cordova.platforms array in package.json Using cordova-fetch for cordova-ios@~4.5.1 Adding ios project... Creating Cordova project for the iOS platform: Path: platforms/ios Package: com.XL.Hbdz Name: xilele iOS project created with [email protected] Installing "cordova-plugin-app-name" for ios Installing "cordova-plugin-splashscreen" for ios Installing "cordova-plugin-statusbar" for ios Installing "cordova-plugin-wechat" for ios --save flag or autosave detected Saving ios@~4.5.4 into config.xml file ...
no error not working
[email protected] is ok
It's no error, and right value in ios.json but in plist it's wrong. It's looks like ios.json does not set Bundle Display Name.
in cordova 8.0.0, I have a different file location
in plugin:
var configPath = path.join(projectRoot, 'platforms', 'android', 'res', 'xml', 'config.xml');
var stringsPath = path.join(projectRoot, 'platforms', 'android', 'res', 'values', 'strings.xml');
in my project:
var configPath = path.join(projectRoot, 'platforms', 'android', 'app', 'src', 'main', 'res', 'xml', 'config.xml');
var stringsPath = path.join(projectRoot, 'platforms', 'android', 'app', 'src', 'main', 'res', 'values', 'strings.xml');
'android', 'app', 'src', 'main', 'res'
We tried this plugin with [email protected] and [email protected]. In both when we run Cordova prepare, the Plist file is not updated with the name specified in the App_Name plugin.
Any updates on this issue? Still not working for me, as well.
It worked for me when setting the short Attribute of the name tag in config.xml:
....
<name short="My fancy display name">MyAppBundleName</name>