summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/guides/FAQ.rst12
-rw-r--r--docs/guides/source.rst50
2 files changed, 36 insertions, 26 deletions
diff --git a/docs/guides/FAQ.rst b/docs/guides/FAQ.rst
index cb67a498..54c42198 100644
--- a/docs/guides/FAQ.rst
+++ b/docs/guides/FAQ.rst
@@ -148,6 +148,18 @@ source code compile issues.
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
+ - Load up zmNinja again and go to montage. I presume you are now looking at the error
+ - Go to logs, and email them to me via the email button on top (envelope icon)
+ Specifically, **don't do whole bunch of unrelated things and send me logs expecting me
+ to sift through and find out what is going on**.
+
- I don't know why something is not working if you don't provide
sufficient inputs. Start by creating a `GitHub
issue <https://github.com/pliablepixels/zmNinja/issues>`__ and please
diff --git a/docs/guides/source.rst b/docs/guides/source.rst
index c1f62f1a..70ac4b6c 100644
--- a/docs/guides/source.rst
+++ b/docs/guides/source.rst
@@ -58,54 +58,50 @@ Install Dependencies - needed for all platforms
Install NodeJS
~~~~~~~~~~~~~~
-Install NodeJS from `here <https://nodejs.org/en/download/>`__. As of
-Dec 2018, I'm using Node ``v8.11.2``. I use
-`n <https://github.com/tj/n>`__ to manage node versions and switch
-between them.
+I use `nvm <https://github.com/nvm-sh/nvm>`__ to install NodeJS. It allows you to
+easily switch node versions. Follow their instructions and use the same node major
+version you see above (12.x). Note that it is entirely possible another version of
+node works. This is the only one I've tested with. I don't think minot version changes
+will cause issues (example, ``12.18`` etc.).
Install cordova and ionic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
- npm install -g cordova@8.1.2 ionic
+ npm install -g cordova@9.0.0 @ionic/cli
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
-
- npm install -g gulp
- npm install node-sass
- npm install async
- npm install jshint
+ npm install -g cordova-res
+ gem install cocoapods
+If you don't have ``gem`` that means you need to install ruby. Installing ruby
+installs gobs of nonsense. Too bad.
(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)
-You also need to install ``cocoapods`` (some of the plugins depend on them):
+Download zmNinja
+----------------
.. code:: bash
- sudo gem install cocoapods
+ git clone --depth 1 https://github.com/pliablepixels/zmNinja.git
-If you don't have ``gem`` that means you need to install ruby. Installing ruby
-installs gobs of nonsense. Too bad.
-Download zmNinja
-----------------
+Add some more build deps:
.. code:: bash
- git clone --depth 1 https://github.com/pliablepixels/zmNinja.git
+ npm install -g gulp
+ npm install node-sass
+ npm install async
+ npm install jshint
+
-Configure build configure zmNinja and get all required plugins
---------------------------------------------------------------
+Prepare for a build
+----------------------------
.. code:: bash
@@ -115,6 +111,7 @@ Configure build configure zmNinja and get all required plugins
ionic cordova platform add android (or ios)
cordova prepare
+
Making an iOS build
-------------------
@@ -138,10 +135,11 @@ it support automatic building of notification extensions. So there is manual wor
- Now in XCode Targets, select ``zmNinjaNotification``, and make sure you select a Team and make sure Deployment Target is 11 or above
- Change Deployment target to 11 or above (same as zmNinja target)
- ``cp etc/NotificationService.m platforms/ios/zmNinjaNotification/``
+- Please make sure you select the right development teams for both zmNinja and zmNinjaNotification so the app can be signed
Starting 1.5.0, zmNinja uses the `cordova-plugin-firebasex <https://github.com/dpa99c/cordova-plugin-firebasex>`__
library for push notifications. The older cordova-push-plugin is no longer supported by the author.
-If you are facing compilation issues that relate to this plugin, please make sure you read it's troubleshooting section,
+If you are facing compilation issues that relate to this plugin, please make sure you read it's `install section <https://github.com/dpa99c/cordova-plugin-firebasex#installation>`__,
especially around outdated pods et. al.