Set of methods for handling HTTP requests
In an eitri-app, it's important to note that it's only possible to make HTTP requests through these commands. The format is similar to a well-known library called axios.
Set of methods for navigating between screens. Each set of files (jsx and js) in the view folder generates a screen. It's possible to navigate through these screens using the methods described here.
Interaction with the native navigation of the device.
Restricted usage: Only available with app owner authorization.
This type of navigation can cause increased memory consumption but can handle complex scenarios where the state of the current eitri-app needs to be preserved in memory while another eitri-app is running in the foreground.
Set of methods for operating data storage in eitri-apps
Notes:
Storage data is not shared between different eitri-apps. Data is transported as a string and transformed with parsing. Pay attention to the size of the data passed to avoid affecting the experience.
Set of methods to operate data storage shared between eitri-apps.
To use SharedStorage and make data available between two or more Eitri-Apps, an AppGroup is required.
AppGroups are a concept that permits some resources to be shared, such as storage. When two or more Eitri-Apps are in the same AppGroup, they can write data in one Eitri-App and retrieve it in another Eitri-App.
To set up an AppGroup configuration, please contact Eitri support.
Methods for deep link opening
Methods for clipboard access
Methods for filesystem access, download and upload management
Methods for shared filesystem access, download and upload management
Methods for keyboard access and manipulation
Current eitri-bifrost version
Set of tools for tracking eitri-apps
Available tools:
Tools for listening to events on your eitri-app coming from the main app.
You can also use this bus to implement a pub/sub pattern inside your app.
Methods for sharing content using the device's share sheet.
Methods for using biometric authentication.
Methods for managing device notifications.
Methods with infos related to the current environment
Methods for accessing the system's information.
Methods for interacting with haptic feedback on devices
Methods for managing device geolocation.
Methods for interacting with bottom navigation bar
Methods for managing mediaNotification.
Web interface that allows users to navigate through a complex web flow.
It can be used for corporate logins and other complex web flows involving multiple redirects in an OAuth flow.
Methods for allowing the app to perform actions related to the device's application store
Returns the exposed APIs of the app, granting privileged access that is not commonly available to eitri-apps.
Eitri-apps operate within a sandboxed environment, and this function allows the host (app) to provide features and functionality that extend eitri-apps base capabilities.
Example:
const result = await Eitri.exposedApis.math.sum({a: 1, b: 2});
- API LEVEL
1
- Functionality added
Fetches configurations specific to the current eitri-app.
Example:
const appConfig = await Eitri.getConfigs()
- API LEVEL
1
- Functionality added
Opens an HTTPS address in the system's default browser.
Example:
await Eitri.openBrowser({url: "https://calindra.tech"});
- API LEVEL
1
- Functionality added- API LEVEL
11
- ParameterinApp
Checks if the desired API level is compatible with the API_LEVEL used in the eitri-machine
Check compatibility control concept
- API LEVEL
1
- Functionality added
apiLevel to validate
Generated using TypeDoc
Set of methods available for eitri-apps