Can now differentiate between an expansion pack beacon and a normal beacon
If an expansion pack beacon is detected, check Firebase to see if a new pack is available for this location (using version number). If a new pack is available or if the pack does not exist on the user's device (e.g. it is their first time passing that location) then a second request is made to fetch the contents of the expansion pack and then put it into the local database
The following workflow now works:
Walk past expansion pack beacon which has been added to the Firebase and has a corresponding expansion pack file added to the other GitHub repo here
If the expansion pack relating to this beacon has not been downloaded before, or if it is out of date, the system will automatically download the latest expansion pack into local storage
When you walk past a beacon included in the expansion pack, the enriched content is provided to the user
Details
Screenshots/GIF (if appropriate)
https://gla.sharepoint.com/sites/A2CM/Shared%20Documents/DST5/Videos/nmw-expansion-pack.mp4
Checklist
Code
Documentation
Accessibility
No actual front end changes were made here
Closes #50, #51 #52