I figured it is not necessary to have airshipconfig.properties
at all. All the properties from that file can be set programmatically. This is what worked for me, in onCreate
of my Application
file:
AirshipConfigOptions options =
AirshipConfigOptions.loadDefaultOptions(this.getApplicationContext());
if (!options.isValid()) {
options.gcmSender = "932487653294";
options.transport = "gcm";
options.developmentAppKey = "41fdslhbc827dgc2cdj";
options.developmentAppSecret = "svigivyeubwohubvsdv";
options.productionAppKey = "41fdslhbc827dgc2cdj";
options.productionAppSecret = "svigivyeubwohubvsdv";
options.inProduction = true;
options.richPushEnabled = true;
}
UAirship.takeOff(this, options);
PushManager.enablePush();
String apid = PushManager.shared().getAPID();
Log.i("my_tag", "My Application onCreate - App APID: " + apid);
PushManager.shared().setIntentReceiver(IntentReceiver.class);