Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:mobile:user_guide:mobile_settings [2020/07/22 00:49] – [Permission to Edit Mobile Settings] Mark Gloveren:mobile:user_guide:mobile_settings [2022/01/21 01:13] – [Editing the Sync Interval] Mark Glover
Line 6: Line 6:
 The Mobile Settings is where an user with appropriate permissions can carry out certain administration tasks including: The Mobile Settings is where an user with appropriate permissions can carry out certain administration tasks including:
  
-  * Editing the **Sync URL** and **Sync Password** for your mobile store+  * Edit the **Sync URL** and **Sync Password** for your mobile store 
 +  * Configure the **Sync interval** and **Idle logout** interval
   * View the **Realm Explorer**   * View the **Realm Explorer**
   * **Export Data** (i.e. export your database file).   * **Export Data** (i.e. export your database file).
 +  * **Import Data** (i.e. import a database file from another device).
 +  * Perform a **Factory Reset** (i.e. remove all app-related data, including sync settings from the device)
 +  * **Check Connection** (verifies connectivity between mSupply mobile and mSupply Desktop)
  
 ==== Permission to Edit Mobile Settings ==== ==== Permission to Edit Mobile Settings ====
Line 21: Line 25:
  
 Clicking this button opens the **Settings** window. Clicking this button opens the **Settings** window.
- +{{ :en:mobile:user_guide:pasted:20210803-030345.png?800 }}
-{{ :en:mobile:user_guide:settings_detail.png?800 |}}+
  
 === Editing Sync URL or Sync Password === === Editing Sync URL or Sync Password ===
Line 35: Line 38:
  
 For changes to occur, click the **Save Changes** button. For changes to occur, click the **Save Changes** button.
- +{{ :en:mobile:user_guide:pasted:20210803-031133.png?800 }}
-{{ :en:mobile:user_guide:settings_save_changes.png?800 |}}+
  
 When prompted, re-enter your password to confirm the changes. When prompted, re-enter your password to confirm the changes.
 {{ :en:mobile:user_guide:settings_password.png?800 |}} {{ :en:mobile:user_guide:settings_password.png?800 |}}
  
 +=== Editing the Sync Interval ===
 +
 +  * mSupply Mobile will attempt to sync to the Primary server at regular intervals.
 +  * The default sync interval is 10 minutes.
 +  * From v8.1.0, it is possible to edit the sync interval to be from 1 minute to 10 minutes.
 +  * To edit, drag the **Sync interval (minutes):** slider left (to decrease the value) or right (to increase the value). 
 +  * It is also possible to enter a specific value into the text field to the right of the slider.
 +
 +{{ :en:mobile:user_guide:pasted:20220120-233520.png?800 |}}
 +
 +
 +
 +You will need to click the **Save Changes** button and enter your password when done for the changes to be saved.
 === Export data to backup mSupply Mobile database === === Export data to backup mSupply Mobile database ===
  
-For support purposes, it may  be necessary to recover a backup of the mSupply Mobile database from the device.  Click **Export Data** button to generate the backup. You will get a [[https://developer.android.com/guide/topics/ui/notifiers/toasts.html|toast notification]] saying //Exported data file//.+For support purposes, it may be necessary to recover a backup of the mSupply Mobile database from the device.  Click **Export Data** button to generate the backup. You will get a [[https://developer.android.com/guide/topics/ui/notifiers/toasts.html|toast notification]] saying //Exported data file//.
  
 {{ :en:mobile:user_guide:pasted:20200722-002737.png }} {{ :en:mobile:user_guide:pasted:20200722-002737.png }}
Line 49: Line 64:
 An admin worker will then be able to recover this backup file from **Download** > **mSupplyMobile_data** folder. An admin worker will then be able to recover this backup file from **Download** > **mSupplyMobile_data** folder.
  
 +=== Import backup mSupply Mobile database ===
 +<WRAP center round important 60%>
 +This functionality is available from mSupply mobile v8.1.0 onwards
 +</WRAP>
 +For support purposes (e.g. replicating an issue locally that was reported on a remote device), previously backed up files (using the **Export Data** functionality described above) are able to be imported into mSupply mobile. Click the **Import Data** button on the settings page. This will take you to your device's file system where you will be required to specify the backup file to be used for the import.
 +
 +When a file is successfully selected and imported, you will get a [[https://developer.android.com/guide/topics/ui/notifiers/toasts.html|toast notification]] saying //Imported data file. mSupply app will restart now//. The app will then restart and be ready for testing with the imported database file.
 +{{ :en:mobile:user_guide:pasted:20210803-032717.png?800 }}
 \\ \\
 \\ \\
 +
 +=== Perform a Factory Reset of mSupply Mobile ===
 +To avoid having to manually clear app data (which is sometimes not possible on remote devices), there is a **Factory Reset** option available in the settings menu which will do this for you. After clicking the button, you will be prompted with a warning and dialog to enter your user password (note the warning and be sure you really want to clear everything!):
 +
 +{{ :en:mobile:user_guide:pasted:20210803-042127.png?800 }}
 +
 +After entering the correct details and clicking **Done**, you will be taken back to the mSupply mobile initialisation page, where you will be required to re-initialise the tablet. See [[https://docs.msupply.foundation/en:mobile:user_guide:getting_started#connecting_to_the_central_server|here]] for details on configuring mSupply mobile to connect to the central server.
 +
 +=== Check Connection ===
 +<WRAP center round important 60%>
 +This functionality is available from mSupply mobile v8.1.0 onwards
 +</WRAP>
 +This feature provides a quick and easy way of verifying that the tablet has connectivity established with mSupply Desktop. This is particularly useful after updating the **Sync URL** or **Sync Password**. Simply click the **Check Connection** button. If the connection is all good, you will get a [[https://developer.android.com/guide/topics/ui/notifiers/toasts.html|toast notification]] saying //Connection successful//:
 +{{ :en:mobile:user_guide:pasted:20210803-050215.png?800 }}
 +
 +If there are any problems (some examples include: incorrect URL, incorrect password, or no internet) the notification will instead have a description of the error, e.g. //Unable to connect// or //Invalid username or password//
 +
 +
 |  //Previous:  **[[en:mobile:user_guide:cash_register|]]** | | Return to home page:  **[[en:mobile:user_guide|]]**//  | |  //Previous:  **[[en:mobile:user_guide:cash_register|]]** | | Return to home page:  **[[en:mobile:user_guide|]]**//  |
  • en/mobile/user_guide/mobile_settings.txt
  • Last modified: 2022/03/04 12:21
  • by Gary WIllets