Skip to content

Commit 9a2fc16

Browse files
authored
Release 20.2.2 (#1982)
1 parent 0e998c2 commit 9a2fc16

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
[All Releases](https://github.com/urbanairship/android-library/releases)
66

7+
## Version 20.2.2 - February 19, 2026
8+
9+
Patch release with an FCM availability check improvement to better handle unexpected Google Play service lookup failures.
10+
11+
### Changes
12+
13+
- Added exception handling and logging around the FCM Google Play Store availability check to prevent unexpected crashes when Google checks fail.
14+
715
## Version 20.2.1 - February 6, 2026
816

917
Patch release with several minor improvements for the Compose Message Center UI. Apps that make use of the Compose Message Center should update to take advantage of these improvements.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
22
ext {
33
// Airship Version - major.minor.patch
4-
airshipVersion = '20.2.1'
4+
airshipVersion = '20.2.2'
55

66
// Airship Version Qualifier beta, release, etc...
77
// airshipVersionQualifier = "alpha"

urbanairship-fcm/src/main/java/com/urbanairship/push/fcm/FcmPushProvider.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ public class FcmPushProvider public constructor() : PushProvider, AirshipVersion
6262
}
6363

6464
override fun isSupported(context: Context): Boolean {
65-
return PlayServicesUtils.isGooglePlayStoreAvailable(context)
65+
return try {
66+
PlayServicesUtils.isGooglePlayStoreAvailable(context)
67+
} catch (e: Exception) {
68+
UALog.e(e, "Unable to check Google Play Store availability for FCM.")
69+
false
70+
}
6671
}
6772

6873
override fun toString(): String {

0 commit comments

Comments
 (0)