• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Mobile WebApp on iOS  RSS feed

 
Ranch Hand
Posts: 68
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've tried to set my 'site' up as a mobile web app.  I've got bits in the header like this -



And I've tried various solutions in JavaScript to stop it going out to a browser when a link is pressed. At the moment, it's this -



That generally works, except the login page, Google's login, which even as a standard link on my iPad, opens Safari. When I login with Google in Safari, the webapp still sits waiting to be logged in...

If I do everything through Safari, it all works fine.

Does that make sense?  Does anyone have any tips to keep everything in the webapp?  On Android it all works fine within the webapp.
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
web apps have replaced many traditional programs on the desktop, the same is not true for mobile. Native applications are not only the norm, but the only option for most services and applications.
 
Saloon Keeper
Posts: 5288
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

sonai kale wrote:Native applications are not only the norm, but the only option for most services and applications.


This comment is not only off-topic, but stated in this way flat-out wrong. Please make sure your comments are appropriate and on-topic.
 
Andy Crowther
Ranch Hand
Posts: 68
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It turns out that Google wont allow authentication in a webview, which is what iOS used when you add to home screen.  This means it opens Safari, which can't pass the authentication info back into the webview, so I think I'm stuck with just using it as a website, not a webapp  (Well, until maybe iOS make some changes)
 
Marshal
Posts: 67243
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for coming back and reporting your findings.

Have a cow.
 
Andy Crowther
Ranch Hand
Posts: 68
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Awesome, thanks  I didn't know I wanted a cow until I got one
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
ScroogeXHTML 8.2 - easy to use RTF to HTML converter library
https://coderanch.com/t/707504/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!