For HTML content within a folio, such as an HTML article or a Web Content overlay, you can reference the Reading API. The Reading API includes some some features available in the Library and Store API as well as APIs for geolocation, camera, calendar, and device detection.
Any HTML content you specify in DPS App Builder can reference the Library and Store API. HTML articles or Web Content overlays in a folio can reference the Reading API.
|Library and Store API||Reading API|
|Custom slots (web views)||*|
|Web Content overlay||*|
Custom slots (also called "custom navigation icons") appear on the bottom navigation bar. When tapped, these custom slots display a web view, such as a custom store or an FAQ page. The web view HTML can include references to the Library and Store API.
If your app include direct entitlement, you can define an HTML banner to display at the top of the library view, as shown in the above images. You use the banner as a call to action for print subscribers to get immediate access to the content, to make subscription offers, or to display ads. The entitlement banner has full access to the Library/Store API. For details, see Leveraging direct entitlement with DPS.
The welcome screen is a transparent web view that displays HTML content between the splash screen and the Library/Store. The HTML content appears the first time customers launch the app after installing it or the first time they launch the app after it's updated. The welcome screen has full access to the Library/Store API. See Getting started with a welcome screen in DPS Developer Center.
You can launch the Information Screen from either the app level (such as a custom library or entitlement banner) or from the folio level (HTML article or Web Content overlay). The HTML files used in the Information Screen reside on a server outside the app, not within the app. Users must be connected to the Internet to view the Information Screen.
For more information, see New APIs and features in r30.
To access JS APIs from within a folio rather than in the library, you can create an HTML article or a Web Content overlay. You can then create digital blow-ins to display different content depending on how the article was acquired, or you can take advantage of the Camera API, the Geolocation API, or various consumer marketing APIs.