I am using Appcelerator Alloy (same issue probably applies to Titanium).
I have the following in my tiapp.xml
:
...
<plist>
<dict>
...
<key>FacebookAppID</key>
<value>blah</value>
...
</dict>
</pict>
...
The issue I have is that I have 2 FacebookAppID's. I have one for testing and another for production.
How can I set it so that it changes depending on the deploy type.
I know this is possible in the config.json
, as you just put it under env:development
, env:test
or env:production
. But how do you do it tiapp.xml
in