Skip to content

A cross platform mobile app that shows your Nightscout website in a WebView.

Notifications You must be signed in to change notification settings

Chewwy420/NightscoutHybridMobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

iOS: Build status

Android: Build status

NightscoutHybridMobile

A cross platform mobile app that shows your Nightscout website in a WebView.

For more information about Nightscout and remote continuous glucose monitoring in the cloud, visit nightscout.info

Features:

  1. Your full Nightscout website displayed inside the app
  2. The ability to prevent the screen from locking so you can enjoy alarms throughout the night :)
  3. Volume control in case you enjoy alarms throughout the day.
  4. NEW: Push notifications for Alerts, Announcements, and Info events (customizable per device) so you can get alarms when the app is not running. This is an alternative (FREE!) to Pushover, and works very similarly.
  5. NEW: Support for iOS and Android
  6. NEW: A flashlight so you can sneak into your child's room in the middle of the night for blood sugar checks and treatments.

We welcome your feedback and feature requests. Please add them as issues

#Installing the mobile App

If you would like to Beta Test this app, please join our HockeyApp Team. We are using HockyApp to distribute the beta. If you have issues or questions on how to install this app, feel free to ask in our Facebook Group.

Updating your Nightscout for Push Notifications

Your Nightscout website will generate push notifications and send them to this new mobile app for any events (Highs, Lows, Announcements, etc) that happen. You can customize which types of notifications you want to receive when in the mobile application. However, you need to update your Azure website from this Work In Progress (WIP) branch of the Nightscout repo.

The steps to do this are:

  1. Add the azurepush variable to your Enable string in application settings.
  2. IMPORTANT! Ensure the BASE_URL is set in your App settings as described here. It should look something like this: https://<your-website>.azurewebsites.net.
  3. Create a new branch on your fork in GitHub named wip/azurepush. Do this by selecting the Branch drop down and typing in wip/azurepush and then selecting Create Branch. More info here.
  4. Update your new wip/azurepush branch with the new code from the main repo. You can create your own link to do this using this format: https://github.com/nightscout/cgm-remote-monitor/compare/<your-github-username>:wip/azurepush...nightscout:wip/azurepush. Make sure you are logged in to GitHub first!
  5. Approve and merge the pull request.
  6. Go to Azure/Heroku and swap the branch that's deployed to your site. You can either disconnect and re-connect, or follow these steps (for Azure):

Go to your scm site https://<your-website>.scm.azurewebsites.net Go to the Debug Console - CMD from the top Navigate to site\deployments Edit the settings.xml file (using the little pencil) Change the value for the branch key from dev/master to wip/azurepush. It should look like this:

<?xml version="1.0" encoding="utf-8"?>
<settings>
    <deployment>
        <add key="branch" value="wip/azurepush" />
    </deployment>
</settings>
  1. Sync your deployment to move your site to the new code. In Azure, go to your site, Deployment Options, select Sync.

And Voila! The notification settings in the app will work now!

About

A cross platform mobile app that shows your Nightscout website in a WebView.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.2%
  • HTML 0.8%