Fix APNS push for the cloud testing environment

Whether to use APNS or APNS_SANDBOX doesn't depend on the used
nymea:cloud instance, but rather the used certificate for signing the
app. And we never use an ad-hoc to sign CI builds.
This commit is contained in:
Michael Zanetti 2019-04-12 21:49:31 +02:00
parent 1b6a4fa0b8
commit 928342e1e5

View File

@ -83,7 +83,7 @@ AWSClient::AWSClient(QObject *parent) : QObject(parent),
config.mqttEndpoint = "a2addxakg5juii-ats.iot.eu-west-1.amazonaws.com";
config.region = "eu-west-1";
config.apiEndpoint = "testapi-cloud.guh.io";
config.pushNotificationSystem = pushSystem == "APNS" ? pushSystem + "_SANDBOX" : pushSystem;
config.pushNotificationSystem = pushSystem;
m_configs.insert("Testing", config);
// Marantec environment