Overview
This article explains how to configure a WebView in the app to display a custom QR code page used as a static identification code. The QR page is hosted on Como Sense and can be embedded in the app using a WebView configuration with required default and custom parameters.
When to use this
Use this setup when you want:
A consistent, static identification code available directly in the app A QR code screen that can be opened inside the app without implementing a native QR generation component Centralized control of the QR experience via a hosted page
WebView Configuration
1) WebView URL
Configure the WebView to load the following path: businessHubID.comosense.net/qr
Notes: Replace businessHubID with the relevant business hub identifier. The path must be exactly /qr.
2) Default Params
Under Default params, configure the identification value that the QR code should represent.
Guidance: The value parameter should match the identifier you want the QR code to represent (for example: member identifier, external identifier, or another static identification key that your flow expects). Use the identification type that matches your POS or in-store identification flow.
3) Custom Params
Under Custom params, add the following parameter: cookieConsentGrantedExternally = true
Purpose: This parameter indicates that cookie consent was already granted outside the WebView experience, so the QR page can load without prompting for cookie consent inside the embedded view.