This thread was archived. Please ask a new question if you need help.
navigator.sendBeacon() failing on secure websites
I'm trying to use the Beacon API (https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API), but Firefox (13.1) on iPhone X (iOS 11.4.1) will not communicate with a secure site (https). E.g.
navigator.sendBeacon() returns true on both secure (https) and insecure (http) sites.
macOS Firefox and iPhone Safari work fine. I've contacted Apple and they say it's a Firefox issue.
All Replies (3)
Try stackoverflow.com if this is not helpful. https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API
I've already tried Stack Overflow but didn't get anything - https://stackoverflow.com/questions/51844586/navigator-sendbeacon-on-iphone-chrome-not-posting-to-secure-websites