Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:3300_mobile_apps:monaca [2022/08/25 00:00] – ↷ Page moved from 3300_mobile_apps:monaca to docs:3300_mobile_apps:monaca administrator | docs:3300_mobile_apps:monaca [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Building native mobile applications ====== | ====== Building native mobile applications ====== | ||
| - | When you create your mobile applications they are accessed through a mobile browser such as Safari – just like non-mobile applications. Starting from //**Aware IM**// version 5.9 //**Aware IM**// supports the capability of building //native// mobile applications that can be uploaded to a mobile device and run without having to start a mobile browser and specify the URL of the application. | + | When you create your mobile applications they are accessed through a mobile browser such as Safari – just like non-mobile applications. Starting from //**AwareIM**// version 5.9 //**AwareIM**// supports the capability of building //native// mobile applications that can be uploaded to a mobile device and run without having to start a mobile browser and specify the URL of the application. |
| There are several steps involved in creation of native mobile application for mobile phones or tablets: | There are several steps involved in creation of native mobile application for mobile phones or tablets: | ||
| - Create your browser-based mobile application as usual | - Create your browser-based mobile application as usual | ||
| - | - Use the “Build native mobile application” feature in //**Aware IM**// to create a zip file containing all the artefacts of your mobile application | + | - Use the “Build native mobile application” feature in //**AwareIM**// to create a zip file containing all the artefacts of your mobile application |
| - | - Create an account with a vendor that allows building native mobile applications from web applications written in HTML and Javascript. //**Aware IM**// currently supports Monaca ([[https:// | + | - Create an account with a vendor that allows building native mobile applications from web applications written in HTML and Javascript. //**AwareIM**// currently supports Monaca ([[https:// |
| - | - Import the zip file created by //**Aware IM**// into Monaca | + | - Import the zip file created by //**AwareIM**// into Monaca |
| - Create the binary file for the appropriate platform following Monaca guides | - Create the binary file for the appropriate platform following Monaca guides | ||
| - Upload the binary file into the phone or tablet | - Upload the binary file into the phone or tablet | ||
| - | You should create your native mobile application when your standard browser-based //**Aware IM**// application has been developed and tested. The first step is then to create a zip file that can be imported into Monaca. To do this select the business space version and then select the “Build native mobile application” command from the Version menu of the Configuration Tool. Then provide the following information: | + | You should create your native mobile application when your standard browser-based //**AwareIM**// application has been developed and tested. The first step is then to create a zip file that can be imported into Monaca. To do this select the business space version and then select the “Build native mobile application” command from the Version menu of the Configuration Tool. Then provide the following information: |
| - Output folder where the zip file will be written | - Output folder where the zip file will be written | ||
| - | - Server URL and port. Your mobile application will be communicating with your server where //**Aware IM**// should be running. You need to make sure that this server has valid Internet address and then specify this address and port where //**Aware IM**// Tomcat is running (unless it’s a standard port 80) | + | - Server URL and port. Your mobile application will be communicating with your server where //**AwareIM**// should be running. You need to make sure that this server has valid Internet address and then specify this address and port where //**AwareIM**// Tomcat is running (unless it’s a standard port 80) |
| - | - Web application folder name. Only if you have renamed the standard //**Aware IM**// directory to something else | + | - Web application folder name. Only if you have renamed the standard //**AwareIM**// directory to something else |
| - You need to decide whether users of your mobile application will be logging into your system or not. If they are the login screen will be the first they will see when the application is launched. Otherwise, they will go directly into your mobile application as guest users. | - You need to decide whether users of your mobile application will be logging into your system or not. If they are the login screen will be the first they will see when the application is launched. Otherwise, they will go directly into your mobile application as guest users. | ||
| - You then need to provide the application name, version and other details – these details will be registered for your native mobile application | - You then need to provide the application name, version and other details – these details will be registered for your native mobile application | ||
| Line 43: | Line 43: | ||
| For example, you can change the theme of the index.html file or add “forgotten password” or “Sign Up” functionality. | For example, you can change the theme of the index.html file or add “forgotten password” or “Sign Up” functionality. | ||
| - | {{page> | + | {{page>docs:5000_videos: |
| + | |||
| + | ===== Running mobile native applications ===== | ||
| + | Before running native applications you need to make some changes to AwareIM Tomcat files on the server: | ||
| + | |||
| + | 1. The following change will make sure that calls to the AwareIM Server from the native application are not interpreted as " | ||
| + | Modify the file AwareIM/ | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | |||
| + | 2. The following change will disable using cookies by AwareIM as they cause security problems when running mobile native applications. | ||
| + | Modify the file AwareIM/ | ||
| + | <web-app xmlns=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | - Then add this: | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | </ | ||