Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin ios push notification not working #21300

Open
Vice95 opened this issue Sep 25, 2024 · 3 comments
Open

Xamarin ios push notification not working #21300

Vice95 opened this issue Sep 25, 2024 · 3 comments
Labels
need-info Waiting for more information before the bug can be investigated
Milestone

Comments

@Vice95
Copy link

Vice95 commented Sep 25, 2024

Apple platform

iOS

Framework version

net8.0-*

Affected platform version

Vs 2022 For MAC

Description

I have a problem with push notifications on a xamarin project

situation: I have a working xamarin android / ios code with bundle id com.xxxx.abc.

Steps to Reproduce

I have to republish the same app with a different brand, I created a new plist, new registration on firebase, new google-service.plist file, but the notifications do not arrive as on the first app. Does anyone have similar experiences?

Did you find any workaround?

No response

Build logs

No response

@rolfbjarne
Copy link
Member

It's likely there's something wrong with the configuration in the new projects somehow.

I would compare the app bundles (the .app directory) between the Xamarin app and the .NET app, to see if there are any differences that look suspicious. In particular pay attention to the Info.plist file in each app bundle, and any other plist files.

@rolfbjarne rolfbjarne added the need-info Waiting for more information before the bug can be investigated label Sep 25, 2024
@rolfbjarne rolfbjarne added this to the Future milestone Sep 25, 2024
@Vice95
Copy link
Author

Vice95 commented Sep 27, 2024

I checked the plist files are practically the same, even the project configurations (I created different configurations to change the themes, import the appropriate plist).
I inserted a pop up when registering firebase and I get the fcmtoken even on apps that do not receive notifications

@microsoft-github-policy-service microsoft-github-policy-service bot added need-attention An issue requires our attention/response and removed need-info Waiting for more information before the bug can be investigated labels Sep 27, 2024
@rolfbjarne
Copy link
Member

Can you upload an .ipa we can use to investigate?

@rolfbjarne rolfbjarne added need-info Waiting for more information before the bug can be investigated no-auto-reply For internal use and removed need-attention An issue requires our attention/response labels Sep 27, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-auto-reply For internal use label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-info Waiting for more information before the bug can be investigated
Projects
None yet
Development

No branches or pull requests

2 participants