AppBoxoWebAppSetNavigationBar
AppBoxoWebAppSetTabBar
show
required boolean
Defines TabBar visibility
activeTab
required number
Active TabBar item id
list
required Array<{ tabId: number, tabName: string, tabIcon: string }>
Define tabs
options
required { color: string, background: string, selectedColor: string, hasBorder: boolean, borderColor: string }
Tab bar options
badges
optional Array<{ tabId: number, background: string, color: string, value?: string }>
Define tab item badges.
AppBoxoWebAppTabBarItemClick
AppBoxoWebAppOpenQRCodeReader
AppBoxoWebAppOpenQRCodeReaderResult
or AppBoxoWebAppOpenQRCodeReaderFailed
Example:
AppBoxoWebAppShowActionSheet
header
optional string
Action sheet header text
list
required Array<{ id: number, text: string, role?: 'cancel' | 'destructive' | 'selected' }>
Define action sheet items
AppBoxoWebAppActionSheetItemClick
AppBoxoWebAppSetActionButton
AppBoxoWebAppShowAlert
header
optional string
Alert header text
message
optional string
Alert message
buttons
required Array<{ id: number, text: string, role?: 'cancel' | 'destructive' }>
Define buttons
AppBoxoWebAppGetGeodata
AppBoxoWebAppChooseLocation
AppBoxoWebAppOpenLocation
AppBoxoWebAppShowImages
start_index
optional number
Index to start showing from
images
required Array<string>
Image urls
Example:
AppBoxoWebAppLoadingIndicator
AppBoxoWebAppVibrate
style
optional 'light' | 'medium' | 'heavy'
Controls strength of vibration, defaults to ‘light’.
Example:
AppBoxoWebAppStorageGet
keys
required Array<string>
Keys for getting ([a-zA-Z_-0-9])
Example:
AppBoxoWebAppStorageGetKeys
count
required number
Count of keys to get. Max value is 1000
offset
optional number
The offset required to fetch a specific subset of keys. Default: 0
Example:
AppBoxoWebAppStorageSet
key
required string
The key of value ([a-zA-Z_-0-9])
value
optional string
value
Example:
AppBoxoWebAppStorageRemove
key
required string
The key of value ([a-zA-Z_-0-9])
Example:
AppBoxoWebAppStorageClear
AppBoxoWebAppGetClipboard
AppBoxoWebAppSetClipboard
data
required string
Content to be copied to clipboard
Example:
AppBoxoWebAppStartAccelerometer
AppBoxoWebAppStopAccelerometer
AppBoxoWebAppOnAccelerometerChange
AppBoxoWebAppStopAccelerometer
event to stop listening.
Example:
AppBoxoWebAppStartGyroscope
AppBoxoWebAppStopGyroscope
Stops listening on gyroscope data.
Example:
AppBoxoWebAppOnGyroscopeChange
AppBoxoWebAppStopGyroscope
event to stop listening.
Example:
AppBoxoWebAppStartCompass
AppBoxoWebAppStopCompass
AppBoxoWebAppOnCompassChange
AppBoxoWebAppStopCompass
event to stop listening.
Example: