Overview
Aspen Mobile is a Progress Web Application (PWA) built into Aspen Discovery. It enables many “app” features, like Push Notifications, on any mobile or desktop device, without having to manage a separate app codebase and upgrade cycle. Configuration changes made in Aspen Discovery are instantly available to all users.
You can use Aspen Mobile via your browser for free. To get your Aspen Mobile PWA into the App Stores, you’ll need to either build and submit it yourself (the site pwabuilder.com has guidance on how to do this), or contract for this service with ByWater. All the usual challenges of app store submission still apply, but once accepted, you should only need to upgrade the app itself infrequently.
Prerequisites
If you haven’t already, go to DB Maintenance from the Aspen Admin and run the database updates for Aspen PWA (If they do not show up here you should already have the updates)
Setup Steps
Enable the Aspen Progressive Web Application (PWA) module
- In the Aspen Admin, go to the modules under the System Administration section.
- Find Aspen Progressive Web Application (PWA) and make sure the enabled checkbox is checked for the module.
- Save.
Add the Permissions from the Module
- Again in the System administration section of Aspen Admin, this time go to Permissions
- Choose your role at the top (likely opacAdmin but this could be any role you wish to do this setup).
- Find the Aspen Progressive Web Application (PWA) section and enable all the permissions there for the role you are using to do this initial setup
- Be sure to scroll to the bottom of the page and hit Save changes.
Setup Firebase
Firebase is a Google service that allows for the delivery of push notifications to partner devices.
- Create a new Firebase project (https://console.firebase.google.com/?pli=1). If you have an existing firebase project you want to re-use, you can skip this step.
- Once you have your project, create a new app within the project
- choose “web”
- give it a nickname
- At this point, you should have a block of code with a variable called "firebaseConfig" displayed. Save those values to add to your Aspen Settings later.
apiKey ->Firebase API Key
authDomain -> Firebase Authorization Domain
projectId -> Firebase project ID
storageBucket -> Firebase Storage Bucket
messagingSenderId -> Firebase Messaging Sender ID
appId -> Firebase application ID
- In the Settings for your new app, go to the Cloud Messaging tab and click the “Generate key pair” button in the “Web Push certificate” section
- The value under "Key pair" should be copied, and placed into the setting Web Push Certificate (VapidKey) in the next step
- On the same tab, click “Manage service accounts”
- On the page that opens, click the three dots under Actions and choose “Manage keys”
- From here
- choose from the add key dropdown “Create new key”
- Leave “json” checked
- Hit “Create” and a file will download
Add Settings in Aspen
- In Aspen, go to the Settings in the PWA section (/AspenPWA/Settings)
- Create a new Settings object
- All the Firebase settings should be from the config you saved in the previous section “Setup Firebase”. If you do not remember them you can go to the General Settings section in the app you created in Firebase and scroll to the bottom to see the values there
- The value for Web Push Certificate is on the Cloud Messaging tab of the settings for the firebase app you created.
- Service Account and Confirm Service account require the contents of the file you downloaded at the end of the firebase setup. Open the file up in a text editor and copy the values into the fields
- The SHA-256 Cert Fingerprint field is only necessary when putting an app in the Google Play store and can be updated with the value you get from Google so they can verify that your website is what is supposed to be in the app.
- Name, Short name, and description fields are up to you
- The theme field is what theme will be used for colors defined in the manifest.
- For Manifest ID, use the url for your website backwards. (i.e. your-library.example.com becomes com.example.your-library)
Related Articles
Aspen Mobile FAQ
Aspen Mobile is a Progressive Web App. It was built to be installed directly to your device or downloaded as an app, and feature push notifications. Aspen Mobile was designed to provide Aspen Discovery users with a stable, responsive version of the ...
Patron Point and Koha - Library Setup
How does it work? Patron Point can send email, SMS, and/or phone messages. Similar to SIP users, an API patron/user allows third party integrations such as Patron Point to connect to Koha. The API patron will have permissions that allow it to ...
Integrating Quipu with Aspen & Koha
Aspen supports Quipu eCARD (self-registration) and eRENEW (patron account renewal). First, decide whether your library would like to have Quipu's form display in Aspen or embed it on your website. Aspen setup If you want to keep the form on your ...
Aspen/Koha Glossary
Aspen Koha Description Materials request Purchase suggestion Allows patrons to request that the library purchase a title Freeze/unfreeze Suspend/unsuspend Temporary pause on a hold Patron types Patron categories Broad groupings of patrons (including ...
Troubleshooting Formats in Aspen
It is highly recommended to use UNIQUE authorized values for all shelf location, collection and item types. This is because issues like those described below can result when codes are shared. If a library does not have the option to edit their ...