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
en:mobile:user_guide:mobile_settings [2020/07/22 00:49] – [Permission to Edit Mobile Settings] Mark Gloveren:mobile:user_guide:mobile_settings [2022/03/04 12:21] (current) – [Permission to Edit Mobile Settings] Gary WIllets
Line 3: Line 3:
 ---- ----
 ===== Mobile Settings ===== ===== Mobile Settings =====
 +The Mobile Settings is where a 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: +  Edit the **Sync URL** and **Sync Password** for your mobile store 
- +  * Configure the **Sync interval** and **Idle logout** interval
-  Editing the **Sync URL** and **Sync Password** for your mobile store+
   * 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 ====
 +To edit mobile settings, the user must have the **View/Edit Preferences** permission set for the mobile store on the Central server - please see the  [[en:mobile:setup:server_side:users#setting_up_admin_access_to_the_device_settings|5. Setting up the Users to access the store]] page for details.
  
-To edit mobile settings, the user must have the **View/Edit Preferences** permission set for the mobile store on the Central server - refer [[en:mobile:setup:server_side:users#setting_up_admin_access_to_the_device_settings|Setting up admin access to the device settings]]. 
  
 ==== Access Mobile Settings ==== ==== Access Mobile Settings ====
- +Users with the appropriate permissions will see the **Settings** button on the bottom right of the main screen:
-Users with the appropriate permissions can access the mobile **Settings** on the bottom right of the main screen.+
  
 {{ :en:mobile:user_guide:mobile_settings.png?800 |}} {{ :en:mobile:user_guide:mobile_settings.png?800 |}}
  
-Clicking this button opens the **Settings** window.+Tapping on this button opens the //Settings// window:
  
-{{ :en:mobile:user_guide:settings_detail.png?800 |}}+{{ :en:mobile:user_guide:pasted:20210803-030345.png?800 }}
  
 === Editing Sync URL or Sync Password === === Editing Sync URL or Sync Password ===
- 
 <WRAP center round important 60%> <WRAP center round important 60%>
 Be careful when editing this, as synchronisation will not work if the **Sync URL** or **Sync Password** do not match what is set on the primary server. Be careful when editing this, as synchronisation will not work if the **Sync URL** or **Sync Password** do not match what is set on the primary server.
Line 34: Line 36:
 {{ :en:mobile:user_guide:settings_warning.png?800 |}} {{ :en:mobile:user_guide:settings_warning.png?800 |}}
  
-For changes to occur, click the **Save Changes** button.+For changes to occur, tap 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 |}}
  
-=== Export data to backup mSupply Mobile database ===+=== 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.
  
-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:20220120-233520.png?800 |}} 
 + 
 +You will need to tap the **Save Changes** button and enter your password when done for the changes to be saved. 
 + 
 +=== 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.  Tap the **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// when the export is complete:
  
 {{ :en:mobile:user_guide:pasted:20200722-002737.png }} {{ :en:mobile:user_guide:pasted:20200722-002737.png }}
  
-An admin worker will then be able to recover this backup file from **Download** > **mSupplyMobile_data** folder.+The backup file is saved in the //Download > mSupplyMobile_data// folder on the device and can be copied from there and used in another copy of mSupply mobile on another device. 
 + 
 +=== 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. To do this, tap the **Import Data** button on the settings page. This will take you to your device's file system where you can 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 tapping 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 tapping **Done**, you will be taken back to the mSupply mobile initialisation page, where you can 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 tap 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 (like an incorrect URL, incorrect password, bad internet connection) 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.1595378977.txt.gz
  • Last modified: 2020/07/22 00:49
  • by Mark Glover