diff --git a/README.md b/README.md index d38420ef..72968135 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ _{project-root}/{your-module}/build.gradle:_ dependencies { // Ensure the following line is included in your app/library's "dependencies" section. - implementation 'com.microsoft.azure:notification-hubs-android-sdk:1.1.1' + implementation 'com.microsoft.azure:notification-hubs-android-sdk:1.1.2' } ``` diff --git a/notification-hubs-sdk/build.gradle b/notification-hubs-sdk/build.gradle index 9e10cc3f..0f6572ab 100644 --- a/notification-hubs-sdk/build.gradle +++ b/notification-hubs-sdk/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.library' apply plugin: 'maven-publish' -def VERSION = '1.1.1' +def VERSION = '1.1.2' def PUBLISH_ARTIFACT_ID = 'notification-hubs-android-sdk' def GROUP_ID = 'com.microsoft.azure' diff --git a/notification-hubs-sdk/src/main/java/com/microsoft/windowsazure/messaging/notificationhubs/InstallationPutRequest.java b/notification-hubs-sdk/src/main/java/com/microsoft/windowsazure/messaging/notificationhubs/InstallationPutRequest.java index 84c74e09..67380e1a 100644 --- a/notification-hubs-sdk/src/main/java/com/microsoft/windowsazure/messaging/notificationhubs/InstallationPutRequest.java +++ b/notification-hubs-sdk/src/main/java/com/microsoft/windowsazure/messaging/notificationhubs/InstallationPutRequest.java @@ -136,7 +136,7 @@ public void onErrorResponse(VolleyError error) { */ private static String getUserAgent() { String userAgent = String.format("NOTIFICATIONHUBS/%s (api-origin=%s; os=%s; os_version=%s;)", - API_VERSION, "AndroidSdkV1FcmV1.1.1", "Android", Build.VERSION.RELEASE); + API_VERSION, "AndroidSdkV1FcmV1.1.2", "Android", Build.VERSION.RELEASE); return userAgent; }