-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Bug]: Safari permissions issue on onesignal permissions prompt #144
Comments
@mramzan18 This could be happening due to a macOS bug that happens some systems. Can you try the repo steps here to isolate the problem? |
I am getting this error on onesignal prompt click as well "The Safari site URL, icon size, or push certificate is invalid, or Safari is in a private session." [safari desktop] v:17.4.1 Its documentation says, no need to add push certificate after safari 15. Dont know what else to check. At least, some way to find that this browser cant get notification, so I can disable my button on site can help. |
@sanishkr can you check if this is due to your system being affected by the Apple bug I noted above? Here is a direct link to the MRE (minimal reproducible example): |
I tried, it gives this as response in box below: |
@sanishkr have you found any solution? |
Nope, not even any workaround yet. It is either with onesignal devs or safari devs from apple to fix this. |
@jkasten2 |
@sanishkr if you found any workaround then let me know as well |
I just got the following message from OneSignal support
|
What happened?
The Safari site URL, icon size, or push certificate is invalid, or Safari is in a private session.
whenever OneSignal.Slidedown.promptPush() is executed, prompt shown on safari browser and user click on allow button it instantly show this message 'The Safari site URL, icon size, or push certificate is invalid, or Safari is in a private session.' inside console and do not receive any push notifications. i tried to remove notification icon on onesignal dashboard as well .p12 file as well
import { useEffect, useState } from 'react'
import OneSignal from 'react-onesignal'
import { useSelector } from './useAppSelector'
const useOneSignalConfig = () => {
const { oneSignalExternalId } = useSelector(({ auth }) => auth)
}
export { useOneSignalConfig }
What browsers are you seeing the problem on?
Safari
What operating system are you running?
macOS Sonoma 14.4.1
Steps to reproduce?
What did you expect to happen?
Push notifications on safari
Relevant log output
No response
The text was updated successfully, but these errors were encountered: