         BreinLogger.shared.log("UserNotification didReceive invoked with response: \(response).")
 
         let aps = response.notification.request.content.userInfo["aps"] as! [String: Any]
-        self.sendActivity("openedPushNotification", additionalContent: aps)
+        self.sendActivity(BreinActivityType.OPEN_PUSH_NOTIFICATION.rawValue, additionalContent: aps)
 
         // call BreinNotification-Handler
         Breinify.getNotificationHandler()?.didReceive(response)

        BreinLogger.shared.log("didReceiveRemoteNotification called with notification: \(notification)")

        let notDic = notification["aps"] as! [String: Any]
        self.sendActivity("receivedPushNotification", additionalContent: notDic)
    }

    public func didFailToRegisterForRemoteNotificationsWithError(_ error: Error) {


        let aps = notification.request.content.userInfo["aps"] as! [String: Any]

        self.sendActivity(BreinActivityType.OPEN_PUSH_NOTIFICATION.rawValue, additionalContent: aps)

        // call BreinNotification-Handler
        Breinify.getNotificationHandler()?.willPresent(notification)
