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

[question]: adding a service extension for IOS in Maui #126

Open
1 task done
LucaDuttoTD opened this issue Oct 15, 2024 · 4 comments
Open
1 task done

[question]: adding a service extension for IOS in Maui #126

LucaDuttoTD opened this issue Oct 15, 2024 · 4 comments
Labels
Documentation Improvements or additions to documentation

Comments

@LucaDuttoTD
Copy link

LucaDuttoTD commented Oct 15, 2024

How can we help?

Hello. I'm porting to MAUI an existing application. This application is (obviously!) using OneSignal for push notification.

I'm following the guide here: https://documentation.onesignal.com/docs/net-sdk-setup
but I'm stuck at 3: Adding A Service Extension
Is the documentation outdated? or am I missing something obvious? Because I'm unable to get it right: the documentation points to a MS page about Xamarin, trying to create a service extension anyway results in an empty folder...
Can you point me in the right direction for creating this Service Extension? Or: what happens if I skip this passage?

I think a clearer documentation would be very appreciated and useful for the community.

Thanks a lot

Code of Conduct

  • I agree to follow this project's Code of Conduct
@DaveBrask
Copy link

When I got to where you are I didn't want to make one. It seems the extension is for changing the incoming message. I didn't make one and it works just fine.

@nan-li nan-li added the Documentation Improvements or additions to documentation label Nov 1, 2024
@nan-li
Copy link

nan-li commented Nov 1, 2024

@mads195
Copy link

mads195 commented Nov 28, 2024

Hi @LucaDuttoTD you are seeing the instructions on https://learn.microsoft.com/en-us/previous-versions/xamarin/ios/platform/user-notifications/enhanced-user-notifications?tabs=windows#implementing-a-service-extension does not actually work?

No - that specific step only works on Xamarin projects. Maui appears to not have Service Extensions natively. Happy to be corrected if I'm wrong.

@LucaDuttoTD
Copy link
Author

Hi @LucaDuttoTD you are seeing the instructions on https://learn.microsoft.com/en-us/previous-versions/xamarin/ios/platform/user-notifications/enhanced-user-notifications?tabs=windows#implementing-a-service-extension does not actually work?

Nope, it doesn't seem to work, as @mads195 noted it seems to be specific for Xamarin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants