User Agent Detection

The novomind iSHOP backoffice can deliver content based on the current user agent. If your app wants to use this content (I.e. display special teasers for mobile customers), the app has to send the correct user agent. This is especially useful if your app wants to display content in embedded browser views.

The user agent for iSHOP Apps is:

iSHOP App

It may be embraced by squared brackets and it may also contain a version (wich is nowhere evaluated by now). So these are examples for valid user agents:

Mozilla/5.0 (Linux; Android 4.4.4; One Build/KTU84L.H4) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36 [iSHOP App]
Mozilla/5.0 (Linux; Android 4.4.4; One Build/KTU84L.H4) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36 [iSHOP App/v2.0]
Mozilla/5.0 (Linux; Android 4.4.4; One Build/KTU84L.H4) Chrome/33.0.0.0 Mobile Safari/537.36 iSHOP App
Mozilla/5.0 (Linux; Android 4.4.4; One Build/KTU84L.H4) Chrome/33.0.0.0 Mobile Safari/537.36 iSHOP App/2.0.0

User Agent Detection by X-Header

You can also send an X-Header to identify your app. The correct header for this is:

X-iSHOP-App:v1.0

Again the version is not evaluated anywhere, so it's okay to send other values.