Client Environment
quip.apps.isMobile
boolean
This property is set to true if this app is being rendered in a native mobile app context.
quip.apps.isNative
boolean
This property is set to true if this app is being rendered in a native app context (desktop or mobile).
quip.apps.isDesktopWeb
boolean
This property is set to true if this app is being rendered in a desktop web browser.
quip.apps.isIOs
boolean
This property is set to true if this app is being rendered in the native iOS app.
quip.apps.isAndroid
boolean
This property is set to true if this app is being rendered in the native Android app.
quip.apps.isWindows
boolean
This property is set to true if this app is being rendered in the native Windows app.
quip.apps.isMac
boolean
This property is set to true if this app is being rendered in the native Mac app.
quip.apps.isOnline
boolean
Returns a best-effort estimate of whether the user's client currently has an Internet connection.
Relevant Events
quip.apps.getApiVersion
string
This property is set to a string representation of the currently running apps API version.
quip.apps.isApiVersionAtLeast
Function(version: string) => boolean
This method returns true if the currently running apps API version is greater than or equal to the given version string. When adopting breaking API changes, this can be used to gate your code.