Why Expresso exists
Many merchants already have important rules on their website: pricing, product display, validation, promotions, and personalization. Expresso lets you bring that logic into the mobile application in a controlled way. With Expresso, you can:- Change application behavior with JavaScript.
- Create new components for the mobile application.
- Reuse business rules that already exist on your website.
Expresso is not a browser
Expresso is not a WebView. You write JavaScript against the APIs that Expresso provides, and common browser APIs are not available, including:windowdocument- DOM APIs like
querySelector,createElement, oraddEventListeneron HTML elements - CSSOM APIs
- navigation APIs like
historyandlocation - cookies
localStorage- IndexedDB
- Service Workers
- Web Workers
- Canvas and WebGL
fetch, URL, and sessionStorage, see Runtime APIs.
What you can build
You are not building a web page. You are writing JavaScript that can:- Read product, cart, customer, and store data.
- Call supported services.
- Customize app extensions.
- Update supported components.