This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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: 5128
135
  • 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: 67192
169
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
 
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!