C#/Xamarin Maui
[Xamarin] Firebase RemoteMessageDelegate can't assign "this"
kjun.kr
2020. 11. 19. 22:51
728x90
Firebase 를 사용하는데
Messaging.SharedInstance.RemoteMessageDelegate = this;
이부분이 처리가 안되서 Push 메세지가 수신이 안되었다
확인해 보니 아래 처럼 변경해서 처리하면 된다.
(별것도 아닌데 찾아본시간이 ㅠㅠ)
Messaging.SharedInstance.Delegate = this;
참고
Property 'remoteMessageDelegate' not found on object of type 'FIRMessaging *'
I'm working with some Swift and FCM code and after updating pods I'm getting two errors. I have done research but can't figure out what to do to fix it. Here is the code: // For iOS 10 display
stackoverflow.com
728x90