-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from shankari/release_v_9
Minor changes to kickstart the release cycle again
- Loading branch information
Showing
8 changed files
with
90 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,34 @@ Installation is now complete. You can view the current state of the application | |
|
||
$ ionic emulate ios --target="iPhone-6" | ||
|
||
|
||
#### Temporary workaround *for android only* #### | ||
Unfortunately, `ionic state` does not store plugin version numbers, and | ||
versions of crosswalk > 16 are so large that the generated APK is too big | ||
and needs `multi-dex` support. | ||
https://developer.android.com/studio/build/multidex.html#mdex-gradle | ||
|
||
It looks like multi-dex is a pain, and is complicated to use with cordova since | ||
it requires a modification to the AndroidManifest.xml to use a different | ||
activity. | ||
|
||
``` | ||
In your manifest add the MultiDexApplication class from the multidex support library to the application element. | ||
``` | ||
|
||
It seems like it would be a Good Thing to trim down the app anyway instead of | ||
using multi-dex, since that will also help with memory usage and with load | ||
times. But for now, the workaround is to force the use of the older and smaller | ||
crosswalk version. | ||
|
||
So before we build the android version, we need to do | ||
``` | ||
$ cordova plugin remove cordova-plugin-crosswalk-webview | ||
$ cordova plugin add [email protected] | ||
``` | ||
|
||
This does NOT affect iOS. | ||
|
||
Troubleshooting | ||
--- | ||
|
||
|
@@ -53,6 +81,22 @@ the project: | |
|
||
and then run the project with IOS emulator. | ||
|
||
Debugging | ||
--- | ||
If users run into problems, they have the ability to email logs to the | ||
maintainer. These logs are in the form of an sqlite3 database, so they have to | ||
be opened using `sqlite3`. Alternatively, you can export it to a csv with | ||
dates using the `bin/csv_export_add_date.py` script. | ||
|
||
``` | ||
<download the log file> | ||
$ mv ~/Downloads/loggerDB /tmp/logger.<issue> | ||
$ pwd | ||
.../e-mission-phone | ||
$ python bin/csv_export_add_date.py /tmp/loggerDB.<issue> | ||
$ less /tmp/loggerDB.<issue>.withdate.log | ||
``` | ||
|
||
End to end testing | ||
--- | ||
A lot of the visualizations that we display in the phone client come from the server. In order to do end to end testing, we need to run a local server and connect to it. Instructions for: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters