Unity-Technologies / com.unity.mobile.notifications

Mobile Notifications Package
https://docs.unity3d.com/Packages/com.unity.mobile.notifications@2.1/manual/index.html
Other
131 stars 42 forks source link

Fix recovering builder #207

Closed aurimasc closed 2 years ago

aurimasc commented 2 years ago

Androids default recoverBuilder() may fail in certain conditions. From info it may happen if application was reinstalled (updated) or if operating system was upgraded. Because of that we need to handle an exception. At this point it makes sense to fallback to our own custom recover code (would lose users custom modifications to notification though), with better solution for it in the works.

https://github.com/Unity-Technologies/com.unity.mobile.notifications/issues/198 https://github.com/Unity-Technologies/com.unity.mobile.notifications/issues/196