-
-
Notifications
You must be signed in to change notification settings - Fork 235
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Component/Nuget
Push - Native (Shiny.Push)
What operating system(s) are effected?
- iOS (13+ supported)
- Mac Catalyst
- Android (10+ supported)
Version(s) of Operation Systems
iOS 18.1.1 and higher
Hosting Model
- MAUI
- Native/Classic Xamarin
- Manual
Steps To Reproduce
- Use sample project (https://github.com/ewerspej/shinypushbug)
- Configure values for Firebase in appsettings.json
- Use provisioning profile with push notifications enabled
- Deploy app to iOS device (e.g. iPhone) running iOS 18.1.1 or higher
- Register for push token
- Hit UnRegister button
- The call to
pushManager.UnRegister();
will throw
Expected Behavior
No exception, device successfully unregistered
Actual Behavior
A NullReferenceException is thrown inside the PushManager when UnRegister()
is called
This happens with versions 3.3.3 as well as 3.3.4
Exception or Log output
System.NullReferenceException: Object reference not set to an instance of an object.
at Shiny.Push.FirebasePushProvider.UnRegister()
at Shiny.Push.PushManager.UnRegister()
at PushTesting.MainViewModel.<>c__DisplayClass0_0.<<-ctor>b__6>d.MoveNext() in Q:\repos\pushtester\PushEndToEnd\MainViewModel.cs:line 59
Reproducible Code Sample (should be Small, Shiny specific, Compile & Run)
https://github.com/ewerspej/shinypushbug
Code of Conduct
- I have supplied a reproducible sample that is small, shows the specific issue, compiles, runs, and is NOT FROM THE SHINY SAMPLES!
- I am using the LATEST STABLE version from nuget (v3.3.4)
- I am Sponsor OR My GitHub account is 30+ days old
- I acknowledge that this is not technical support and that the maintainer(s) are not here as teachers or to diagnose logs
- I understand that this is not a paid product, it is FREE code that I am using, and that documentation may not be perfect.
- I acknowledge that any form of swearing or general abuse towards the maintainer(s) will result in my immediate ban.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working