Skip to content

Commit

Permalink
readme update and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedevin committed Feb 18, 2017
1 parent 703a938 commit 76ed46e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,6 @@ ionic resources

---

## Build

In order to build that app, we need to build against specific version of web so that it can download all the necessary assets. The **build.php** contains all the information and paths about that you will need. The build target is used to download code and assets, and bundle them with the app. This way there is no need to have any external http requests other than our rest.

```sh
./build.php dev
```
or
```sh
./build.php live
```

---

## Release
For iOS, use xcode for your releases. For Android, you can use the **release_android.sh** script. You will need to create an android keystore in the **cert** directory.

Expand Down
2 changes: 1 addition & 1 deletion plugins/phonegap-plugin-push/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<engine name="cordova-android" version=">=6.0.0"/>
<engine name="cordova-ios" version=">=4.3.0"/>
</engines>
<preference name="SENDER_ID" default="***REMOVED***"/>
<preference name="SENDER_ID" default="85075801930"/>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PushNotification">
Expand Down
2 changes: 1 addition & 1 deletion plugins/phonegap-plugin-push/src/browser/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Push Demo",
"gcm_sender_id": "***REMOVED***"
"gcm_sender_id": "85075801930"
}
2 changes: 1 addition & 1 deletion release_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cordova build android --release
rm -f platforms/android/build/outputs/apk/Cockpit.apk
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 \
-keystore cert/android/com.crunchbutton.cockpit.keystore \
-storepass ***REMOVED*** \
-storepass **password** \
platforms/android/build/outputs/apk/android-release-unsigned.apk \
com.crunchbutton.cockpit
~/android/sdk/build-tools/19.1.0/zipalign -v 4 platforms/android/build/outputs/apk/android-release-unsigned.apk platforms/android/build/outputs/apk/Cockpit.apk
Expand Down

0 comments on commit 76ed46e

Please sign in to comment.