1 May 2012 7:27 AM #1
Unanswered: Detect if app is launched 'from desktop'
If you add your html5 app to desktop using 'add to home screen' on iOS (and similar on android), is there a way to detect if your app was launched using this home screen shortcut icon?
I don't think so, but we are seeing some things that do work from a browser window , say mobile Safari, and when launched from home screen it doesn't work.
This happens particularly when hard redirecting to do oAuth on Facebook for instance. It works from a browser, not from the home screen.
Any info on this subject is appreciated!
3 May 2012 5:19 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Ext.browser.is.Standalone should be true if launched from the homescreenMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.