Skip to main content

How to Check if MiniApp is called via Browser or the SuperApp

MiniApp sometimes need a way to differentiate between SuperApp access and browser access in order to service both channels from the same platform efficiently. To differentiate this, the UserAgent HTTP header parameter has been extended with the string ;KOBILAST/2. This information can now be used to determine the access source of the MiniApp.

This functionality can be verified by temporarily adding WhatIsMyBrowser as MiniApp, and opening it from the SuperApp. The ;KOBILAST/2 parameter in the UserAgent string should be shown, confirming SuperApp access.