Skip to content

Commit

Permalink
Merge pull request #2102 from OneSignal/bump-min-fcm-version
Browse files Browse the repository at this point in the history
Bump minimum FCM version
  • Loading branch information
jinliu9508 committed Jun 3, 2024
2 parents d9c8110 + 431d960 commit ef9e15e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions OneSignalSDK/onesignal/notifications/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ dependencies {

compileOnly('com.amazon.device:amazon-appstore-sdk:[3.0.1, 3.0.99]')

// firebase-messaging:18.0.0 is the last version before going to AndroidX
// firebase-messaging:19.0.0 is the first version using AndroidX
// firebase-messaging:21.0.0 introduces FirebaseMessaging.getToken API
// firebase-messaging:23.0.0 incoporates fix for SecurityException: Not allowed to bind to service
api('com.google.firebase:firebase-messaging') {
version {
require '[19.0.0, 23.4.99]'
require '[21.0.0, 23.4.99]'
prefer '23.4.0'
}
}
Expand Down

0 comments on commit ef9e15e

Please sign in to comment.