ibm-bluemix-mobile-services / bms-pushnotifications-serversdk-swift

IBM Cloud Mobile Services - Server side Swift SDK for IBM Cloud Push Notifications Service
Apache License 2.0
2 stars 10 forks source link

won't authenticate #41

Closed mrdavemorgan closed 6 years ago

mrdavemorgan commented 6 years ago

I don't think this library is authenticating properly. I get a 401 each time I try to send a message, even though I have used the correct appGuid and clientSecret from the service credentials. How can I test this?

AnanthaKrish commented 6 years ago

@mrdavemorgan Hi, Please use the latest Swift SDK. Which have init method with apikey. https://github.com/ibm-bluemix-mobile-services/bms-pushnotifications-serversdk-swift#initialize-with-apikey