File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="en ">
3+ <!-- This Web Application Manifest is required for iOS 16.4 WebPush -->
4+ < link rel ="manifest " href ="manifest.json " />
5+
36<!-- Some sites use this HTML base tag to change the origin for all relative links.
47 Ensure OneSignal SDK correctly handles this. -->
5- < base href ="https://www.example.com/ ">
8+ <!-- NOTE: This does not work with the relative pathed manifest.json above. -->
9+ <!--<base href="https://www.example.com/"> -->
610< script src ="sdks/Dev-OneSignalSDK.js " defer =""> </ script >
711< script >
812 // NOTE: Uncomment and open site in Safari on macOS 13+ to simulate
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://json.schemastore.org/web-manifest-combined.json" ,
3+ "name" : " OneSignal Sandbox WebSDK WebApp" ,
4+ "short_name" : " OSWebAppSandbox" ,
5+ "display" : " standalone" ,
6+ "background_color" : " #ff0000" ,
7+ "description" : " Add this WebApp to your iOS 16.4 homescreen then open it to test WebPush!"
8+ }
You can’t perform that action at this time.
0 commit comments