Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
flutterui:startup_props [2020/08/04 08:15] admin created |
flutterui:startup_props [2021/01/07 08:22] admin |
||
---|---|---|---|
Line 3: | Line 3: | ||
~~NOPDF~~ | ~~NOPDF~~ | ||
- | Some examples for Startup Request properties: | + | The values for Startup request properties are: |
readAheadLimit: 100 | readAheadLimit: 100 | ||
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, 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''. | ||
+ |