Details
-
Type: New Feature
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.1 Final
-
Fix Version/s: 1.2 Beta
-
Component/s: Containers, Faces, Spring
-
Labels:None
-
Environment:n/a
Description
iOS 6 offers Smart App Banners that allow a web app to force the os to check for the installation of a companion app. If the app is not installed, the os will show an option to install it. If the app is installed, the os will show an option for opening it. Information, such as a URL, can also be sent to the app on opening. This allows us to auto-register SX for ICEmobile web apps.
The following meta tag has been tested:
<meta name="apple-itunes-app" content="app-id=485908934" app-argument="icemobile://c=register&r=http://localhost:8080/mvc-mediacast/contest&JSESSIONID=45D085C6DE7C90EF2C35C16D2041522C&u=http://localhost:8080/mvc-mediacast/icemobile/"/>
We'll need to integrate or at least coordinate the activity of smart app banners with the <mobi:getEnhanced> tags. Ideally the getEnhanced tag should not render the Enable or Download buttons if the smart app banner is enabled and the platform is iOS6. With JSP we don't have the ability to detect the presence of a new tag, such as <mobi:smartAppBanner> so I propose the following:
- a new context-parameter 'org.icemobile.smartAppBanner', default true.
This would allow the developer to turn off the smart app banner. The new <mobi:viewManager> tag could manage the rendering of the necessary meta tag. The <mobi:getEnhanced> tag could then check the context-parameter, and bypass rendering the Enable and Download links on iOS6.
The following meta tag has been tested:
<meta name="apple-itunes-app" content="app-id=485908934" app-argument="icemobile://c=register&r=http://localhost:8080/mvc-mediacast/contest&JSESSIONID=45D085C6DE7C90EF2C35C16D2041522C&u=http://localhost:8080/mvc-mediacast/icemobile/"/>
We'll need to integrate or at least coordinate the activity of smart app banners with the <mobi:getEnhanced> tags. Ideally the getEnhanced tag should not render the Enable or Download buttons if the smart app banner is enabled and the platform is iOS6. With JSP we don't have the ability to detect the presence of a new tag, such as <mobi:smartAppBanner> so I propose the following:
- a new context-parameter 'org.icemobile.smartAppBanner', default true.
This would allow the developer to turn off the smart app banner. The new <mobi:viewManager> tag could manage the rendering of the necessary meta tag. The <mobi:getEnhanced> tag could then check the context-parameter, and bypass rendering the Enable and Download links on iOS6.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31223 | Sun Sep 30 08:18:00 MDT 2012 | philip.breau | |
Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/TagUtil.java
|