- AtomJump Messaging app
- Time-slots for accepting messages
- iPhone pictures
- Automatic certificate updates
From within your Loop Server directory:
cd plugins git clone https://git.atomjump.com/notifications.git cd notifications cp config/configORIGINAL.json config/config.json nano config/config.json [enter your own parameters: serverPath is your Loop Server file path. apiKey is the Google GCM apiKey. staging is true/false for which Loop Server config to use.] cp pushcertSAMPLE.pem pushcert.pem [You will need your own Apple push certicate in here] php install.php
At the user end, the Android/iPhone app at https://src.atomjump.com/atomjump/messaging needs to be installed (this can be built with Cordova, or this is available on the Android and iPhone app-stores as 'AtomJump Messaging')
AtomJump's own Notification System
In your config.json file you should switch 'atomjumpNotifications.use' to 'true' to enable this type of notification system.
Current Limitations: Android app notifications will appear up to 30 seconds apart. iPhone app notifications will do the same, if the app is in the foreground on the phone.
To configure multiple MedImage Cloud Servers, and be notified if the load on your notification servers is getting too high, you will need to add a cron job to your server to be run once per day:
sudo crontab -e 0 0 * * * /usr/bin/php /yourserverpath/plugins/notifications/check-load.php
sudo crontab -e 5 8 * * 0 /usr/bin/find /yourserverpath/plugins/notifications/outgoing/ -empty -type d -delete
sudo crontab -e 5 8 * * 0 /usr/bin/find $(npm prefix -global)/lib/node_modules/medimage/photos -empty -type d -delete
sudo mkdir outgoing sudo chmod 777 outgoing
Please log this in your own personal calendar for a reminder, since the software will not automatically notify you when the certificate runs out.