From 3b7b62fcf5e7b49b155ee8d720484f9e0f982506 Mon Sep 17 00:00:00 2001 From: Eugenia Zhang Date: Thu, 11 Apr 2024 20:31:38 -0700 Subject: [PATCH] Removing references to Bintray from README and updating Maven Central links --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5ee47b3..6c596a9 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@

# Azure Notification Hubs - Android SDK -[![Download](https://badgen.net/maven/v/maven-central/com.microsoft.azure/notification-hubs-android-sdk)](https://search.maven.org/artifact/com.microsoft.azure/notification-hubs-android-sdk) - -> ATTENTION: JFrog is shutting down Bintray, and this library is now published on Maven Central. Read more on our [developer blog](https://devblogs.microsoft.com/azure-notification-hubs/bintray-sunset/). +[![Download](https://badgen.net/maven/v/maven-central/com.microsoft.azure/notification-hubs-android-sdk)](https://central.sonatype.com/artifact/com.microsoft.azure/notification-hubs-android-sdk) Azure Notification Hubs (ANH) provides a multi-platform, scaled-out push infrastructure that enables you to send mobile push notifications from any backend (in the cloud or on-premises) to any mobile platform. To learn more, visit our [Developer Center](https://azure.microsoft.com/en-us/documentation/services/notification-hubs). @@ -25,10 +23,10 @@ Once you have a Firebase project, and your application registered, make sure to ### Reference with Gradle -There are two SKUs of this library published on [Bintray](https://bintray.com/microsoftazuremobile/SDK/): +There are two SKUs of this library published on [Maven Central](https://central.sonatype.com/search?q=notification-hubs-android-sdk): -- _General:_ [notification-hubs-android-sdk](https://bintray.com/beta/#/microsoftazuremobile/SDK/Notification-Hubs-Android-SDK?tab=overview) -- _FCM Optimized:_ [notification-hubs-android-sdk-fcm](https://bintray.com/beta/#/microsoftazuremobile/SDK/Notification-Hubs-Android-SDK-fcm?tab=overview). +- _General:_ [notification-hubs-android-sdk](https://central.sonatype.com/artifact/com.microsoft.azure/notification-hubs-android-sdk) +- _FCM Optimized:_ [notification-hubs-android-sdk-fcm](https://central.sonatype.com/artifact/com.microsoft.azure/notification-hubs-android-sdk-fcm). Adding a reference to either project is as simple as editting two files in your project: @@ -52,9 +50,9 @@ _{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.6' + implementation 'com.microsoft.azure:notification-hubs-android-sdk:2.0.0' // optionally, use the fcm optimized SKU instead: - // implementation 'com.microsoft.azure:notification-hubs-android-sdk-fcm:1.1.6' + // implementation 'com.microsoft.azure:notification-hubs-android-sdk-fcm:2.0.0' } ```