Default user agent strings in Median
By default, Median appends a platform-specific identifier to the end of the native device user agent:- iOS:
MedianIOS/1.0 median - Android:
MedianAndroid/1.0 median
Legacy GoNative user agent stringsGoNative.io was rebranded to Median in September 2023. Apps that were originally built on the legacy GoNative.io platform may still use the legacy user agent strings:
- iOS app:
GoNativeIOS/1.0 gonative - Android app:
GoNativeAndroid/1.0 gonative
MedianIOS and MedianAndroid strings above. To confirm the exact user agent used in your app, open the Web Overrides tab in App Studio or use our deviceInfo debugging function.Using a custom user agent
You can fully customize the user agent by selecting the Custom option in your app configuration and entering your preferred string. This gives you complete control over how your app identifies itself to your backend.Detecting Median in JavaScript
You can also detect whether a request originates from your app directly in your website’s JavaScript usingnavigator.userAgent. For example: