From 928342e1e58c665300d78c5a01b4a89c44ebe592 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Fri, 12 Apr 2019 21:49:31 +0200 Subject: [PATCH] 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. --- libnymea-app-core/connection/awsclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnymea-app-core/connection/awsclient.cpp b/libnymea-app-core/connection/awsclient.cpp index 6ce34e86..a3a3c9ab 100644 --- a/libnymea-app-core/connection/awsclient.cpp +++ b/libnymea-app-core/connection/awsclient.cpp @@ -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