Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
flutterui:startup_props [2020/08/04 08:15]
admin
flutterui:startup_props [2021/01/07 08:23]
admin
Line 16: Line 16:
   deviceType: iPhone | Google   deviceType: iPhone | Google
   deviceTypeModel:​ iPhone 8 | AOSP on IA Emulator   deviceTypeModel:​ iPhone 8 | AOSP on IA Emulator
 +  deviceMode: mobile
  
 === Browser === === Browser ===
  
   osName: ​    Mac   osName: ​    Mac
-  osVersion:  ​kann man nicht auslesen+  osVersion:  ​<not available>​
   appVersion: 1.0.0.1 (VERSION.BUILD) - hardcoded - see app_version_web.dart   appVersion: 1.0.0.1 (VERSION.BUILD) - hardcoded - see app_version_web.dart
   deviceId: ​  ​2ca058f0-d0dc-11ea-9f51-f95bf4d03893   deviceId: ​  ​2ca058f0-d0dc-11ea-9f51-f95bf4d03893
   deviceType: Chrome   deviceType: Chrome
   deviceTypeModel:​ Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/​537.36 (KHTML, like Gecko) Chrome/​84.0.4147.89 Safari/​537.36   deviceTypeModel:​ Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/​537.36 (KHTML, like Gecko) Chrome/​84.0.4147.89 Safari/​537.36
 +  deviceMode: desktop
 +  ​
 +=== Custom properties ===
 +
 +It's also possible to send custom properties from the flutter client to the application. To do this, use the Startup Request and send properties in this form:
 +
 +   ​custom_propertyname:​ value
 +
 +Every custom property has to use the prefix ''​custom_''​. The prefix will be removed and only the ''​propertyname''​ will be used. The application will be able use access the value with ''​propertyname''​.
 +
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information