quickstart-ios icon indicating copy to clipboard operation
quickstart-ios copied to clipboard

Messaging use async for iOS13

Open ykws opened this issue 3 years ago • 2 comments

If Firebase Messaging drop iOS12 or lower, recommend to use async.

https://github.com/firebase/firebase-ios-sdk/blob/e9d483222df04f0b3b41bf0f61c30d67e15f387e/FirebaseMessaging.podspec#L23

ykws avatar Dec 25 '21 02:12 ykws

Oh..

concurrency is only available in iOS 15.0.0 or newer

                   didReceiveRemoteNotification userInfo: [AnyHashable: Any]) async -> UIBackgroundFetchResult {

ykws avatar Dec 25 '21 02:12 ykws

Thanks @ykws. With Xcode 13.2, Swift Concurrency supports down to iOS 13. However, GitHub Actions is not yet using 13.2 and many developers may not have updated yet. We'll likely be able to merge this in a few months.

paulb777 avatar Dec 25 '21 14:12 paulb777

Merged in #1419.

Thanks for the contribution @ykws! 🎆

paulb777 avatar Aug 12 '22 19:08 paulb777