- Home
- Knowledge Base
- Administration
- Admin – Mobile App
Admin – Mobile App
The Mobile App is linked to the desktop app and designed to be used on a web browser.
It is also managed from BOS Tools.
How to Add Users to the Mobile App
- Login to BOS Tools.
- Click Admin (BOS).
- Right click the applicable company and select View/Edit Users from the context menu.
- Click Edit (button) on the top row.
- On the top row, type in the details of the new user:
- Status = Enabled.
- Desktop = Enabled.
- Mobile = Enabled.
- Username = Type the person’s username.
- Email = Type the person’s email address.
- Note: This must be a valid email address because the user’s login credentials are emailed to them.
- Right click the Username and select Assign Database from the context menu.
- Move the databases that the user can have access to from the Available to the Selected section.
- Note: To revoke access: move the databases from the Selected to the Available section.
- Click OK (button).
- Close the popup using the X in the corner.
- Right click the Username and select Invite to Mobile from the context menu.
- Note: The user is now activated for mobile. An invitation email with login details and a link to open the app is sent to the user.
How To Release a New Mobile Version
The Mobile app does not need to be upgraded for each new Desktop version.
- Update the code on the main branch for the front- and backends.
- Login to BOS Tools.
- Click Mobile Releases on the Tile menu.
- Select a Desktop Version from dropdown list next to Release.
- Note: The dropdown list contains the desktop versions that have already been released.
- Click Release (button)
- Note: This action does the following:
- Creates a new S3 bucket, Route 53 entry and CloudFront Distribution.
- Copies the Frontend App from Code Commit to the new S3 bucket.
- Creates a new Lambda for the backend.
- Updates the frontend environment variable with the URL of the new backend.
- Creates a versioned branch that can be checked out and updated later.
- Note: This action does the following:
- Associate the new mobile release with a desktop release:
- Close the Mobile Versions popup.
- Click Versions & Scripts on the Tile Menu.
- Click Menu (button) > Versions.
- Click Edit (button).
- Click the Mobile Version column next to the desktop version and select the corresponding mobile version from the dropdown list.
- Click Save (button).
- Close the popup.
How To Update a Mobile Version
- Check out the version branch.
- Update the code.
- Commit and Push to branch.
- Login to BOS Tools.
- Click Mobile Releases on the Tile menu.
- Right click a version and select Update Frontend from the context menu.
- Right click a version and select Update Backend from the context menu.
- Close the popup.
Architecture
- The mobile app is a browser-based app consisting of a Node.js backend and a Vue.js frontend.
- Frontend:
- Single page app uploaded to S3.
- Each version has its own Bucket: e.g. [1-0-0.bos.quickeasysoftware.com](http://1-0-0.bos.quickeasysoftware.com).
- The Frontend backets are hosted in Singapore and distributed to other regions using CloudFront.
- Backend: Lambda function.
Version Control
- The Desktop application is the primary Version Number which is linked to the Database.
- The Desktop Versions table contains a Mobile Version field which indicates the Mobile Version that is compatible with the Desktop Version.
- When a User logs into a database, the Mobile Version linked to the database is retrieved and the user is directed to the applicable app.
- The version number displayed on the menu inside the app is the Mobile Version number.
- The source code is stored on AWS Code Commit.
- Versions are managed in AWS Code Commit as branches.