My scenario:
open website in Safari,
add it to home screen.
open it from home screen
at some place in website - there is link which opens in new tab ( target=_blank )
on Iphone 13 an prior there is top panel with Done button which allow to close it and return to main page.
on Iphone 14 doing same steps - but panel with Done missed. and no way to close window and back to main page. My users literally stuck on new page without ability to return
Is something in manifest required?
Related
How do you get the iPad or iPhone to have a Home Screen shortcut icon to open your website in Google Chrome and not safari?
Here is the work around I use.
Open callmeicons.com using safari (do not use another browser for this part)and click “create your own”,
then in the Dropdown select “website link”,
Next past the website URL you want to open but replace the HTTP:// with googlechromes://(YOUR URL). For example if you wanted your Home Screen shortcut icon to open https://stackoverflow.com you would enter googlechromes://stackoverflow.com
Next you can enter a name and then choose an icon and select “create icon” at the top menu
Lastly when prompted you go to the share icon (box with arrow out of the top) in safari and select “add to Home Screen”
The final result: when you click the icon added to your Home Screen it should splash Safari browser for a milli second and then realize its mistake and open your link in Google Chrome
Could a button in an iOS app trigger a process to add a website shortcut to the device Home Screen?
For example company A releases an app through the App Store. This contains a button to add a shortcut to company A's website on the Home Screen of the phone or tablet.
Cheers.
I was looking to achieve something similar once & I am pretty sure it cannot be done -- iOS simply won't allow it.
You have 3 options for your button action --
Present UIActivityViewController with your website Url (it will the have option to "Add to Reading List", but it won't have "Add to Home Screen")
Present SFSafariViewController with the website Url, you can open an alert view to tell the user to add to bookmarks perhaps. (it will the have option to "Add to Reading List" & "Add to Bookmarks", but it won't have "Add to Home Screen")
Launch Safari & open the website with some parameter triggered javascript code to tell the user to select "Add to Home Screen".
None of them come close to what you want and are not particularly elegant. But I don't see any other way.
(In our case, we just went with launching the Safari)
Here's an old link I found, not much has changed --
iPhone SDK - Add a "Add to Home Screen" button in a UIWebView
I enabled pwa on my website and now chrome is showing add to home screen prompt and it is ok. Now i added my site to home screen through prompt and reloaded my website but chrome is still showing add to home screen even i added to my home screen. Ideally chrome should not show up add to home screen prompt if user added to his home screen. I think i am missing something on coding side.
I have a website that uses the JavaScript SDK, and I have a facebook login button that calls FB.login() that opens a new tab for the user to log in.
This website is optimized for the iPad, and I made a home screen entry for this website so it could be viewed in full screen, like how this article mentions it:
http://www.viaboxxsystems.de/html-fullscreen-apps-for-the-ipad
My problem is that only in the home-screen-launched, fullscreen version, when I click on the login button, either I see a white screen, or I get the login details screen (but in that case, clicking "Log In" also results in a white screen), and thus I get to a dead end.
How do I make it so the Facebook login goes through and I get redirected back to my website successfully?
Apple’s documentation for this says,
When you use this standalone mode, Safari is not used to display the web content—specifically, there is no browser URL text field at the top of the screen or button bar at the bottom of the screen.
Sounds to me like this might also affect the ability to open popups. If that’s the case, you could maybe use the server-side authentication flow instead.
My app is started with a splash screen in the page. After 5 seconds (after showing splash screen) it will navigate to next page (login page).
When we click on the back button (on device or on the app), I want to exit the application. That means it should not go back to splash screen page. How can I achieve this?
Any help would be much appreciated...