Skip to content

Commit

Permalink
Merge pull request #3775 from srahim/timob-12275
Browse files Browse the repository at this point in the history
[TIMOB-12275] iOS ti.facebook.appid property not being set properly
  • Loading branch information
srahim committed Jan 24, 2013
2 parents ac08bf9 + bd5249e commit c058375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ build.prototype = {
plist = new appc.plist(),
iphone = this.tiapp.iphone,
ios = this.tiapp.ios,
fbAppId = this.tiapp.properties && this.tiapp.properties['ti.facebook.appid'],
fbAppId = this.tiapp.properties && this.tiapp.properties['ti.facebook.appid'] && this.tiapp.properties['ti.facebook.appid']['value'],
iconName = this.tiapp.icon.replace(/(.+)(\..*)$/, '$1'), // note: this is basically stripping the file extension
consts = {
'__APPICON__': iconName,
Expand Down Expand Up @@ -2572,4 +2572,4 @@ build.prototype = {
});
}

};
};

0 comments on commit c058375

Please sign in to comment.