summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.xml2
-rw-r--r--docs/guides/FAQ.rst3
-rw-r--r--www/js/EventServer.js6
3 files changed, 7 insertions, 4 deletions
diff --git a/config.xml b/config.xml
index 026cd226..a0ad0129 100644
--- a/config.xml
+++ b/config.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
-<widget android-packageName="com.pliablepixels.zmninja_pro" id="com.pliablepixels.zmninja_pro" ios-CFBundleIdentifier="com.pliablepixels.zmninja-pro" version="1.5.001" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget android-packageName="com.pliablepixels.zmninja_pro" id="com.pliablepixels.zmninja_pro" ios-CFBundleIdentifier="com.pliablepixels.zmninja-pro" version="1.6.000" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>zmNinja</name>
<description>
High performance ZoneMinder client
diff --git a/docs/guides/FAQ.rst b/docs/guides/FAQ.rst
index 4bb8e90c..12f7c665 100644
--- a/docs/guides/FAQ.rst
+++ b/docs/guides/FAQ.rst
@@ -752,6 +752,9 @@ It may be one of the following:
* If you are running ES in dlandon's docker image and are seeing connection to the ES being
reset, you may need to restart the ES manually. I don't use that docker image - to further
debug, please raise issues in the docker repo.
+
+* Make sure the image being sent is less than 1MB. This is a new restriction with FCMv1
+
My device is not receiving push for a specific monitor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/www/js/EventServer.js b/www/js/EventServer.js
index 8b1ceb01..b006314b 100644
--- a/www/js/EventServer.js
+++ b/www/js/EventServer.js
@@ -45,9 +45,8 @@ angular.module('zmApp.controllers')
user: loginData.username,
password: loginData.password,
monlist: loginData.eventServerMonitors,
- intlist: loginData.eventServerInterval,
- appversion: NVR.getAppVersion()
-
+ intlist: loginData.eventServerInterval
+
});
@@ -410,6 +409,7 @@ angular.module('zmApp.controllers')
//--------------------------------------------------------------------------
function sendMessage(type, obj, isForce) {
+ obj.appversion = NVR.getAppVersion();
var msg = {
'event': type,
'data': obj,