Replies: 7 comments 16 replies
-
And another question is about this:
I am getting those fake notifications in my UI. |
Beta Was this translation helpful? Give feedback.
-
Right, you can ignore that. FirebaseAppDelegateProxyEnabled is necessary to disable swizzling (read more here). |
Beta Was this translation helpful? Give feedback.
-
Then leave it out for now.
You are right. That is currently missing. Thanks for the research. I have created an issue: #256 |
Beta Was this translation helpful? Give feedback.
-
Good point!
Currently I also think it is not necessary and will update the documentation. I still add the support for swizzling as it should not hurt. Finally, these plugins should provide the same functionality as the Firebase SDKs at some point. |
Beta Was this translation helpful? Give feedback.
-
@robingenz In case you want to read: https://forums.kodeco.com/t/firebase-cloud-messaging-swizzle/180938/3 |
Beta Was this translation helpful? Give feedback.
-
@alexookah Quick update: I disabled swizzling in my demo app and everything still seems to work. I update the docs and remove the sentence regarding |
Beta Was this translation helpful? Give feedback.
-
Hi @robingenz and @alexookah , I stumbled upon this discussion when searching for the same issue that I'm currently getting with iOS:
I've followed all directions and instructions. I'm using the latest v1.3.0 plugin. I have APNS Auth Key uploaded to Firebase. I've tried this with and without FirebaseAppDelegateProxyEnabled. My client side code has this piece of code only: import { FirebaseMessaging } from '@capacitor-firebase/messaging';
const getToken = async () => {
const result = await FirebaseMessaging.getToken();
return result.token;
}; I do believe that it works, since it returns the token:
Curious if I'm missing anything that is required for this plugin to work? Any help appreciated. |
Beta Was this translation helpful? Give feedback.
-
I see this logs in my iOS setup project.
I guess about FirebaseApp.configure() there is nothing we should do. right?
I saw also in the documentation of the setup that in info.plist this should be added
FirebaseAppDelegateProxyEnabled
.Why?
Beta Was this translation helpful? Give feedback.
All reactions