systemVars.dimensions.window
, and rotating your phone will update systemVars.orientation
.systemVars
namespace. This means that e.g. os
below is found under systemVars.os
.os
android
, ios
, windows_phone
, black_berry
, androidtv
, tvos
, tizen
, webos
, windows
, macos
, unix
, linux
, unknown
orientation
portait
, landscape
dimensions.screen.width
dimensions.screen.height
dimensions.window.width
dimensions.window.height
dimensions.viewport.width
dimensions.viewport.height
env
dev
, prod
prod
.formFactor
phone
, tablet
, big_screen
, desktop
, unknown
buildType
client
, selector
selector
means the AppGyver app used to view and develop your apps.networkStatus
none
, cellurar
, wifi
, unknown
none
is returned.runtime
web
, native
initialUrl
initialUrl
system variable.uriSchemes.primary
systemVars.filesystem
object contains information about the file system of the device the app is currently running.systemVars.filesystem.directories
object contains the base directory paths available on the device. Flow functions that deal with files work with absolute paths, so a pattern you will encounter is using these at the beginning of a file path constructed with a formula, e.g. systemVars.filesystem.directories.cache + "/myTempFile.jpg"
.systemVars.fileSystem.directories.document
/data/user/0/com.appgyver.agclient.debug/files
.NSDocumentDirectory
API is used. On Android, the getDataDirectory
API is used.systemVars.filesystem.directories.cache
/data/user/0/com.appgyver.agclient.debug/cache
.NSCachesDirectory
is used. On Android, the getCacheDir
API is used on the app context.systemVars.filesystem.directories.ios.mainBundle
systemVars.filesystem.directories.android.dcim
systemVars.filesystem.directories.android.download
systemVars.filesystem.directories.android.music
systemVars.filesystem.directories.android.pictures
systemVars.filesystem.directories.android.movies
systemVars.filesystem.directories.android.ringtones
systemVars.filesystem.directories.android.sdCard