Closed anuragdalia closed 3 months ago
I think if the notifier object wouldn't be internal it would work.
@anuragdalia in Firebase documentation it is shown that adding below method to application method in Swift would work with swizzling disabled. Can you please check it and let me know it it works for you?
func application(_ application: UIApplication,
didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
Messaging.messaging().apnsToken = deviceToken;
}
Yes it does. But then I'd have to not use this library. There is some handling that kmpnotifier does with a swizzled setup. If I disable swizzling I'd have to call a few of your functions directly on my own.
Nevertheless I have solved my problem some other way
i want to disable fcm method swizzling in ios for another library[Adjust]. but when i do that there is no way to patch kmp with custom function call/listener to listen to unnotifcenter calls . is the only way forking? basically my deeplink reading is breaking