Google have deprecated GCM for delivering push notifications to Android apps, in favour of FCM. GCM will be switched off on April 11 2019 (See header here: https://developers.google.com/cloud-messaging/android/android-migrate-fcm)
Microsoft have provided a tutorial for setting up a new app with Azure Notification Hubs using FCM, however it still depends on the underlying GCM library (com.google.android.gms:play-services-gcm:12.0.0
):
With just 6 months until GCM switch off, my questions are therefore:
Will Azure Notification Hubs Android SDK be updated to remove the dependency on
com.google.android.gms:play-services-gcm:11.8.0
?Will a GCM to FCM migration guide be written for existing apps using Azure Notification Hubs on Android?
Currently the Android Azure Notification Hubs SDK relies on a deprecated
net.http.AndroidHttpClient
, which has been totally removed in Android Pie. When will this be fixed?What server side changes, if any, will be required to migrate from GCM to FCM when using Azure Notification Hubs?
AndroidHttpClient
toOkHttp
: github.com/minyushov/azure-notificationhubs/commits/master – Andrew Ebling