Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented Procedure Push Updates using Firebase Cloud Messaging #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dsu1995
Copy link

@dsu1995 dsu1995 commented Mar 14, 2018

Implemented receiving procedure pushes from Sana Protocol Builder.
The Protocol Builder sends a push notification to the Android app containing a URL to fetch the full procedure XML file from. The Android app then makes an HTTP request to the URL to get the procedure, and saves it locally.
When pushes of different versions of the same procedure are made, only one version (the last version that is pushed) is kept on the phone's database.

Note: bumped up minSdkVersion from 11 to 14 in order to support Firebase Cloud Messaging. This is still compatible with 99.7% of all Android users as of March 2018 (source: https://developer.android.com/about/dashboards/index.html).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant