Skip to content

Commit

Permalink
Override id with ios-CFBundleIdentifier
Browse files Browse the repository at this point in the history
Override id with  ios-CFBundleIdentifier  when both id and ios-CFBundleIdentifier is set in config.xml
  • Loading branch information
malwatte authored and dpogue committed Mar 7, 2019
1 parent 83e5929 commit 1d59304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/templates/scripts/cordova/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Api.createPlatform = function (destination, config, options, events) {
var result;
try {
result = require('../../../lib/create')
.createProject(destination, config.packageName(), name, options)
.createProject(destination, config.getAttribute('ios-CFBundleIdentifier') || config.packageName(), name, options)
.then(function () {
// after platform is created we return Api instance based on new Api.js location
// This is required to correctly resolve paths in the future api calls
Expand Down

0 comments on commit 1d59304

Please sign in to comment.