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

IBM Cloud Mobile Services - Server side Java SDK for IBM Cloud Push Notifications Service
Apache License 2.0
3 stars 6 forks source link

Can't get apikey from VCAP_SERVICES #47

Open fairtowater opened 4 years ago

fairtowater commented 4 years ago

PushNotifications.initWithApiKey("YOUR_APPLICATION_ID", "YOUR-BLUEMIX-PUSH-APIKEY", PushNotifications.US_SOUTH_REGION); not work. It looks the constant APIKEY in PushConstants.java is wrong. It should be apikey, not apiKey.