Search Issue Tracker

Fixed in 1.4.3

Votes

23

Found in [Package]

1.0.3-preview.6

Issue ID

1375744

Regression

Yes

[iOS] App freezes/crashes when both Mobile Notifications and Firebase are used

Package: Mobile Notifications

-

How to reproduce:
1. Open the attached project ("MobileNotificationIssue.zip")
2. Build And Run on an iOS 15 device
3. Tap "Allow" when the notification permission dialog box appears
4. Close the application and reopen it (repeat this step until it freezes/crashes)

Reproducible with: 1.0.3-preview.6, 1.4.2 (2019.4.32f1, 2020.3.21f1), 1.4.2 (2021.1.27f1)
Not reproducible with: 1.0.3-preview.5 (2019.4.32f1, 2020.3.21f1)
Could not test with: 2021.2.0f1, 2022.1.0a13 ("Unable to resolve reference 'Google.IOSResolver'. Is the assembly missing or incompatible with the current platform?")

Reproducible on: iPhone 13 Mini (iOS 15.0)
Not reproducible on: iPad 6th generation, iPhone 8 Plus (iOS 14.4.2)

Note:
- Tapping "Don't Allow" on the first launch or disabling notification permissions any other way stops the issue from reproducing
- Only reproducible on iOS 15

  1. Resolution Note (fix version 1.4.3):

    Fixed in Mobile Notifications 2.0.0

Comments (8)

  1. tarmojussila

    Apr 23, 2022 07:48

    While the update to Mobile Notifications 2.0.0 this fixes the crash issue on iOS, it stops the functionality of some notifications, so it's a trade-off between non-crashing app and non-functional notifications.

  2. josefgrunig

    Mar 02, 2022 16:00

    When is 1.4.3 supposed to be released?

  3. seagulluax

    Jan 12, 2022 04:56

    If you need fix asap. You may open your package manifest and replace 1.4.2 for the package with https://github.com/Unity-Technologies/com.unity.mobile.notifications.git?path=/com.unity.mobile.notifications#f5251ebb3313d63bc84a0d6d40d56040923c9048

    It will take the given commit from the official repository.

  4. JulienPlayrion

    Dec 17, 2021 09:59

    I'm really impatient for this fix to be published, the issue is quite of very annoying :')

  5. Wyvernn

    Dec 14, 2021 13:22

    Having this bug as well.

    App opens fine the first time you open it after install and asks for notification permission
    After closing the app it crashes on launch from then on.

  6. seagulluax

    Nov 30, 2021 22:57

    The status shows: Fix In Review for 1.4.3

    When should we expect 1.4.3?

  7. Mastobaev

    Nov 07, 2021 09:17

    Same issue, only option to fix is to remove the Mobile Notification package

  8. taihe-lichong

    Nov 05, 2021 01:49

    I has same bug and not use firebase

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.