diff options
Diffstat (limited to 'docs/guides')
| -rw-r--r-- | docs/guides/FAQ.rst | 2 | ||||
| -rw-r--r-- | docs/guides/source.rst | 18 |
2 files changed, 13 insertions, 7 deletions
diff --git a/docs/guides/FAQ.rst b/docs/guides/FAQ.rst index 54b7e597..702dd0a4 100644 --- a/docs/guides/FAQ.rst +++ b/docs/guides/FAQ.rst @@ -214,7 +214,7 @@ General tips - ``OPT_USE_APIS`` is enabled - If you are using any version lower than ZM 1.34, ``OPT_USE_GOOG_RECAPTCHA`` is disabled - If you are NOT using authentication at all in ZM, that is ``OPT_USE_AUTH`` is disabled, then make sure you also disable authentication in zmNinja, otherwise it will keep waiting for auth keys. - + - I don't quite know why, but on some devices, connection issues are caused because ZoneMinder's CSRF code causes issues. See `this <https://forums.zoneminder.com/viewtopic.php?f=33&p=115422#p115422>`__ thread, for example. In this case, try turning off CSRF checks by going to ``ZM->Options->System`` and disable "Enable CSRF magic". You will then have to delete zmNinja's API cache (``Menu->Clear API Cache``) and restart the app. - Disable server redirects like 302 and then try if using the mobile app diff --git a/docs/guides/source.rst b/docs/guides/source.rst index 77bb3f0f..1eb67b32 100644 --- a/docs/guides/source.rst +++ b/docs/guides/source.rst @@ -63,9 +63,11 @@ Install cordova and ionic .. code:: bash - npm install -g cordova ionic + npm install -g cordova@8.1.2 ionic npm install @ionic/v1-toolkit --save-dev +Don't install later versions of cordova. I found compilation issues with cordova 9. + And some more: .. code:: bash @@ -75,16 +77,20 @@ And some more: npm install async npm install jshint + (Note you may need to do ``sudo`` depending on how your system is set up. It's `better you don't <https://johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/>`__, but if you must, well, you must) -If you get a newer version, you should adjust your cordova version to -the mentioned version above in order to be able to successfully compile -zmNinja. To change the version you can follow these instructions: -`change cordova -version <https://iphonedevlog.wordpress.com/2014/06/25/updating-and-reverting-to-different-cordova-phonegap-versions>`__ +You also need to install ``cocoapods`` (some of the plugins depend on them): + +.. code:: bash + + sudo gem install cocoapods + +If you don't have ``gem`` that means you need to install ruby. Installing ruby +installs gobs of nonsense. Too bad. Download zmNinja ---------------- |
