Hector,
Yes, I am adding Icon to Home screen on both Android and Iphone. I am copying an earlier post here by Poul and follow it and you will be all set.
Ron
Re: NTWS 12.63-App shortcut in mobile's home screen
? Reply #2 on: January 14, 2024, 11:27:56 PM ?
Quote
Hi,
It can be done manually.
1) Go to a site like this and create your icon images:
https://realfavicongenerator.net/2) In the app, Webhandler, SetCustomHTMLHeaders you place this:
Code: [Select]
self.MetaHeaders = ' ' & |
'<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">' & |
'<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">' & |
'<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">' & |
'<link rel="manifest" href="/site.webmanifest">' & |
'<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">' & |
'<meta name="msapplication-TileColor" content="#da532c">' & |
'<meta name="theme-color" content="#ffffff">'
3) Distribute the created icon images and files in the web folder.
4) The user then opens your app, and creates the shortcut from the menu, Add to home Screen:
/Poul