summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-09-05 11:33:04 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-09-05 11:33:04 -0400
commit5802fce2ecfb93c52a80c5baeec2a525b0702272 (patch)
tree895e184fa1b0de36f7638c6c24f9dbd5e8a9c623
parent8c616596377906a21e4ad94371f536fd4e9ca018 (diff)
instructions for push
-rw-r--r--docs/guides/FAQ.rst28
-rw-r--r--package.json5
2 files changed, 30 insertions, 3 deletions
diff --git a/docs/guides/FAQ.rst b/docs/guides/FAQ.rst
index 54c42198..c08820ad 100644
--- a/docs/guides/FAQ.rst
+++ b/docs/guides/FAQ.rst
@@ -151,7 +151,7 @@ How to report errors
- In general, please try and localize the logs. It helps me pinpoint the issue.
Let's assume you have an issue where montage always shows green dots instead of images.
I'd recommend the following steps:
-
+
- Load up zmNinja
- Clear zmNinja logs
- Kill the app
@@ -715,6 +715,32 @@ long running streams - trying to do snapshots in event montage is a lot
of work and I need to keep track of when the event ends, move to next
image etc. I limit this to 5 because I need 1 for control messages.
+
+Push Notifications related
+---------------------------
+
+My device is not receiving push notifications
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+It may be one of the following:
+
+* Make sure your device is able to reach the ES (usually at port 9000, TCP). You may
+ need to open your firewall ports.
+ If it can't reach the server, you'll see it in your logs. Note that even if you
+ get a push token from Apple/Google but are not able to reach the ES from your phone,
+ the ES will not know about your token and won't be able to send notifications.
+
+* If you are sure the device can reach the ES over port 9000 (or your custom port), check
+ ``/var/lib/zmeventnotification/push/tokens.txt`` - if it's empty, your device is not
+ able to connect to it. Check ES logs, also check zmNinja logs. The answer will be between
+ them
+
+My device is not receiving push for a specific monitor
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+It may be possible that you configured push in zmNinja, and then added a new monitor.
+In this case, your monitor may be excluded from the allowed list of monitors. Go to
+menu->settings->event server and make sure your monitor is checked
+
+
Other misc. issues
------------------
diff --git a/package.json b/package.json
index 5dbc127c..c56ffcad 100644
--- a/package.json
+++ b/package.json
@@ -69,8 +69,8 @@
"ANDROID_FIREBASE_CRASHLYTICS_NDK_VERSION": "17.0.1",
"ANDROID_GSON_VERSION": "2.8.6"
},
- "cordova-plugin-media-pp-fork": {},
- "cordova-plugin-advanced-http": {}
+ "cordova-plugin-advanced-http": {},
+ "cordova-plugin-media-pp-fork": {}
}
},
"dependencies": {
@@ -97,6 +97,7 @@
"cordova-plugin-ignore-lint-translation": "0.0.1",
"cordova-plugin-insomnia": "^4.3.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
+ "cordova-plugin-ionic-webview": "git+https://github.com/pliablepixels/cordova-plugin-ionic-webview.git",
"cordova-plugin-media-pp-fork": "^1.0.2-dev",
"cordova-plugin-multi-window": "0.0.3",
"cordova-plugin-network-information": "^2.0.2",