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]: Upgrading from 3.x to 4.x InFocusDisplaying(OSInFocusDisplayOption.Notification) equivalent? #338

Open
1 task done
MihaMarkic opened this issue Nov 4, 2022 · 3 comments

Comments

@MihaMarkic
Copy link

How can we help?

What is the exact equivalent for 3.x's InFocusDisplaying(OSInFocusDisplayOption.Notification) in 4.x?
Upgrade docs are a bit vague on this: InFocusDisplaying - is replaced by adding NotificationWillShow (see below).

Code of Conduct

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

I guess it's returning notification argument in NotificationWillShow event, like this:

OneSignalSDK.Xamarin.Core.Notification Default_NotificationWillShow(
            OneSignalSDK.Xamarin.Core.Notification notification)
        {
            return notification;
        }

Is this correct?

@twelve-cgn
Copy link

@tele-bird
Copy link

tele-bird commented Apr 29, 2024

@twelve-cgn
Your answer to this question could have answered my question, but unfortunately that link is now dead (404). Please provide an updated link or fix this dead link.

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

No branches or pull requests

3 participants