Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| docs:3500:0800:0890 [2023/04/05 06:03] – created sean | docs:3500:0800:0890 [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Cordova plugins are components that provide access to some built-in features of mobile phones, (such as camera or contacts), for which there is no Javascript access. When components are integrated into the system these features become available through some special Javascript functions that the plugin makes available to the developer. Cordova plugins can only be used in native mobile applications. | Cordova plugins are components that provide access to some built-in features of mobile phones, (such as camera or contacts), for which there is no Javascript access. When components are integrated into the system these features become available through some special Javascript functions that the plugin makes available to the developer. Cordova plugins can only be used in native mobile applications. | ||
| - | Aware IM integrates some Cordova plugins out-of- the-box and provides rule actions that activate them (for example, '' | + | AwareIM |
| Still there is a way to do this by adding some custom Javascript to your application. The following section explains how to do it. | Still there is a way to do this by adding some custom Javascript to your application. The following section explains how to do it. | ||
| Line 13: | Line 13: | ||
| - Study the documentation of the Cordova plugin to fully understand Javascript methods that it exposes | - Study the documentation of the Cordova plugin to fully understand Javascript methods that it exposes | ||
| - Write the Javascript that calls the appropriate Javascript function that the plugin provides | - Write the Javascript that calls the appropriate Javascript function that the plugin provides | ||
| - | - Give this function the data obtained from Aware IM if necessary. For example, read the data from the database and provide this data to the function of the plugin. The useful //**Aware IM**// function that can be used here is '' | + | - Give this function the data obtained from AwareIM |
| - | - Handle the return of this function if necessary – for example write the data returned by the function to the database. Useful | + | - Handle the return of this function if necessary – for example write the data returned by the function to the database. Useful |
| - Define panel operations or menu items in the mobile part of your business space version (using the Configuration Tool) that would run this Javascript. You should select an operation or menu item of the " | - Define panel operations or menu items in the mobile part of your business space version (using the Configuration Tool) that would run this Javascript. You should select an operation or menu item of the " | ||
| - Build a native mobile application for your business space version using the "Build Native Mobile Application" | - Build a native mobile application for your business space version using the "Build Native Mobile Application" | ||