-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
90 additions
and
106 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
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 |
---|---|---|
|
@@ -30,7 +30,6 @@ dependencies: | |
- bundle install | ||
- gem update fastlane spaceship | ||
- bower install | ||
- npm install -g cordova-hot-code-push-cli | ||
- PATH=$(npm bin):$PATH; azure-filestore download -f goodcity.keystore: | ||
pwd: cordova | ||
- PATH=$(npm bin):$PATH; azure-filestore download -d google-play -f $GOOGLE_PLAY_KEY_FILE: | ||
|
@@ -56,7 +55,6 @@ deployment: | |
- bundle exec rake staging android app:build | ||
- bundle exec fastlane android staging | ||
- bundle exec rake staging ios app:build | ||
- scp -r -o "StrictHostKeyChecking=no" -P 59207 /Users/distiller/app.goodcity/cordova [email protected]:/var/www/html/app.goodcity.hk/ | ||
- bundle exec fastlane ios staging | ||
- curl https://api.rollbar.com/api/1/sourcemap/download -F access_token=$ROLLBAR_KEY -F version=$APP_VERSION -F minified_url=https://app-staging.goodcity.hk/assets/goodcity.js; | ||
- curl https://api.rollbar.com/api/1/sourcemap/download -F access_token=$ROLLBAR_KEY -F version=$APP_VERSION -F minified_url=https://app-staging.goodcity.hk/assets/vendor.js; | ||
|
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 |
---|---|---|
@@ -1,95 +1,91 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<widget android-versionCode="0" id="hk.goodcity.appstaging" ios-CFBundleVersion="0" version="0.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>S. GoodCity</name> | ||
<description>The GoodCity initiative is a new way to donate quality goods in Hong Kong. See www.goodcity.hk for more details.</description> | ||
<author href="https://www.crossroads.org.hk">Crossroads</author> | ||
<icon src="www/assets/images/goodcity-icon-128.png" /> | ||
<content src="index.html" /> | ||
<hook src="scripts/update_build_number.py" type="before_prepare" /> | ||
<chcp> | ||
<config-file url="https://app-staging.goodcity.hk/cordova/www/chcp.json" /> | ||
</chcp> | ||
<platform name="android"> | ||
<hook src="scripts/copyAndroidAssets.js" type="after_prepare" /> | ||
<preference name="LoadUrlTimeoutValue" value="120000" /> | ||
<preference name="SplashScreen" value="screen" /> | ||
<preference name="SplashScreenDelay" value="5000" /> | ||
<preference name="Orientation" value="portrait" /> | ||
<icon density="ldpi" src="res/android/drawable-ldpi/icon.png" /> | ||
<icon density="mdpi" src="res/android/drawable-mdpi/icon.png" /> | ||
<icon density="hdpi" src="res/android/drawable-hdpi/icon.png" /> | ||
<icon density="xhdpi" src="res/android/drawable-xhdpi/icon.png" /> | ||
<icon density="xxhdpi" src="res/android/drawable-xxhdpi/icon.png" /> | ||
<icon density="xxxhdpi" src="res/android/drawable-xxxhdpi/icon.png" /> | ||
<splash density="port-ldpi" src="res/android/drawable-ldpi/screen.png" /> | ||
<splash density="port-mdpi" src="res/android/drawable-mdpi/screen.png" /> | ||
<splash density="port-hdpi" src="res/android/drawable-hdpi/screen.png" /> | ||
<splash density="port-xhdpi" src="res/android/drawable-xhdpi/screen.png" /> | ||
<splash density="port-xxhdpi" src="res/android/drawable-xxhdpi/screen.png" /> | ||
<splash density="port-xxxhdpi" src="res/android/drawable-xxxhdpi/screen.png" /> | ||
</platform> | ||
<platform name="windows"> | ||
<hook src="hooks/windows/include.bat" type="after_platform_add" /> | ||
</platform> | ||
<platform name="ios"> | ||
<icon height="180" src="res/ios/[email protected]" width="180" /> | ||
<icon height="60" src="res/ios/icon-60.png" width="60" /> | ||
<icon height="120" src="res/ios/[email protected]" width="120" /> | ||
<icon height="76" src="res/ios/icon-76.png" width="76" /> | ||
<icon height="152" src="res/ios/[email protected]" width="152" /> | ||
<icon height="40" src="res/ios/icon-small-40.png" width="40" /> | ||
<icon height="80" src="res/ios/[email protected]" width="80" /> | ||
<icon height="57" src="res/ios/icon.png" width="57" /> | ||
<icon height="114" src="res/ios/[email protected]" width="114" /> | ||
<icon height="72" src="res/ios/icon-72.png" width="72" /> | ||
<icon height="144" src="res/ios/[email protected]" width="144" /> | ||
<icon height="29" src="res/ios/icon-small.png" width="29" /> | ||
<icon height="58" src="res/ios/[email protected]" width="58" /> | ||
<icon height="50" src="res/ios/icon-small-50.png" width="50" /> | ||
<icon height="100" src="res/ios/[email protected]" width="100" /> | ||
<splash height="480" src="res/ios/Default~iphone.png" width="320" /> | ||
<splash height="960" src="res/ios/Default@2x~iphone.png" width="640" /> | ||
<splash height="1136" src="res/ios/Default-568h@2x~iphone.png" width="640" /> | ||
<splash height="1334" src="res/ios/Default-667h.png" width="750" /> | ||
<splash height="2208" src="res/ios/Default-736h.png" width="1242" /> | ||
<splash height="1024" src="res/ios/Default-1024h.png" width="768" /> | ||
<splash height="2048" src="res/ios/Default-2048h.png" width="1536" /> | ||
<splash height="768" src="res/ios/Default-768h.png" width="1024" /> | ||
<splash height="1536" src="res/ios/Default-1536h.png" width="2048" /> | ||
<splash height="1242" src="res/ios/Default-1242h.png" width="2208" /> | ||
<feature name="StatusBar"> | ||
<param name="ios-package" onload="true" value="CDVStatusBar" /> | ||
</feature> | ||
<preference name="Orientation" value="portrait" /> | ||
<preference name="Fullscreen" value="true" /> | ||
<edit-config file="*-Info.plist" mode="merge" overwrite="true" target="NSCameraUsageDescription"> | ||
<string>So you can photograph items for donation.</string> | ||
</edit-config> | ||
</platform> | ||
<access origin="*" /> | ||
<allow-intent href="https://maps.google.com/*" /> | ||
<allow-intent href="https://www.crossroads.org.hk/*" /> | ||
<allow-intent href="http://www.globalhand.org/*" /> | ||
<allow-intent href="http://crossroads.uservoice.com/*" /> | ||
<allow-intent href="https://crossroads.uservoice.com/*" /> | ||
<allow-intent href="https://checkout.paypal.com/*" /> | ||
<engine name="ios" spec="4.2.0" /> | ||
<engine name="android" spec="~5.1.1" /> | ||
<engine name="windows" spec="~4.3.1" /> | ||
<plugin name="phonegap-plugin-push" spec="~1.4.5"> | ||
<variable name="SENDER_ID" value="XXXXXXX" /> | ||
</plugin> | ||
<plugin name="cordova-plugin-statusbar" spec="~2.1.1" /> | ||
<plugin name="cordova-plugin-device" spec="~1.1.1" /> | ||
<plugin name="cordova-plugin-whitelist" spec="~1.2.1" /> | ||
<plugin name="cordova-plugin-inappbrowser" spec="~1.2.1" /> | ||
<plugin name="cordova-plugin-network-information" spec="~1.2.0" /> | ||
<plugin name="cordova-plugin-actionsheet" spec="https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git" /> | ||
<plugin name="cordova-plugin-camera" spec="~2.1.0" /> | ||
<plugin name="cordova-plugin-splashscreen" spec="~3.1.0" /> | ||
<plugin name="com.nrswolf.cordova.push-notifications-status" spec="https://github.com/nrswolf/cordova-plugin-push-notifications-status.git" /> | ||
<plugin name="cordova-plugin-ios-no-export-compliance" spec="https://github.com/mikaoelitiana/cordova-plugin-ios-no-export-compliance.git" /> | ||
<plugin name="com.phonegap.plugins.nativesettingsopener" spec="https://github.com/selahssea/Cordova-open-native-settings.git" /> | ||
<plugin name="cordova-launch-review" spec="1.0.3" /> | ||
<plugin name="cordova-hot-code-push" spec="https://github.com/nordnet/cordova-hot-code-push" /> | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<widget id="hk.goodcity.appstaging" version="0.0.0" android-versionCode="0" ios-CFBundleVersion="0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | ||
<name>S. GoodCity</name> | ||
<description>The GoodCity initiative is a new way to donate quality goods in Hong Kong. See www.goodcity.hk for more details.</description> | ||
<author href="https://www.crossroads.org.hk">Crossroads</author> | ||
<icon src="www/assets/images/goodcity-icon-128.png"/> | ||
<content src="index.html"/> | ||
<hook src="scripts/update_build_number.py" type="before_prepare" /> | ||
<platform name="android"> | ||
<hook type="after_prepare" src="scripts/copyAndroidAssets.js"/> | ||
<preference name="LoadUrlTimeoutValue" value="120000"/> | ||
<preference name="SplashScreen" value="screen"/> | ||
<preference name="SplashScreenDelay" value="5000"/> | ||
<preference name="Orientation" value="portrait"/> | ||
<icon src="res/android/drawable-ldpi/icon.png" density="ldpi"/> | ||
<icon src="res/android/drawable-mdpi/icon.png" density="mdpi"/> | ||
<icon src="res/android/drawable-hdpi/icon.png" density="hdpi"/> | ||
<icon src="res/android/drawable-xhdpi/icon.png" density="xhdpi"/> | ||
<icon src="res/android/drawable-xxhdpi/icon.png" density="xxhdpi"/> | ||
<icon src="res/android/drawable-xxxhdpi/icon.png" density="xxxhdpi"/> | ||
<splash src="res/android/drawable-ldpi/screen.png" density="port-ldpi"/> | ||
<splash src="res/android/drawable-mdpi/screen.png" density="port-mdpi"/> | ||
<splash src="res/android/drawable-hdpi/screen.png" density="port-hdpi"/> | ||
<splash src="res/android/drawable-xhdpi/screen.png" density="port-xhdpi"/> | ||
<splash src="res/android/drawable-xxhdpi/screen.png" density="port-xxhdpi"/> | ||
<splash src="res/android/drawable-xxxhdpi/screen.png" density="port-xxxhdpi"/> | ||
</platform> | ||
<platform name="windows"> | ||
<hook type="after_platform_add" src="hooks/windows/include.bat"/> | ||
</platform> | ||
<platform name="ios"> | ||
<icon src="res/ios/[email protected]" width="180" height="180"/> | ||
<icon src="res/ios/icon-60.png" width="60" height="60"/> | ||
<icon src="res/ios/[email protected]" width="120" height="120"/> | ||
<icon src="res/ios/icon-76.png" width="76" height="76"/> | ||
<icon src="res/ios/[email protected]" width="152" height="152"/> | ||
<icon src="res/ios/icon-small-40.png" width="40" height="40"/> | ||
<icon src="res/ios/[email protected]" width="80" height="80"/> | ||
<icon src="res/ios/icon.png" width="57" height="57"/> | ||
<icon src="res/ios/[email protected]" width="114" height="114"/> | ||
<icon src="res/ios/icon-72.png" width="72" height="72"/> | ||
<icon src="res/ios/[email protected]" width="144" height="144"/> | ||
<icon src="res/ios/icon-small.png" width="29" height="29"/> | ||
<icon src="res/ios/[email protected]" width="58" height="58"/> | ||
<icon src="res/ios/icon-small-50.png" width="50" height="50"/> | ||
<icon src="res/ios/[email protected]" width="100" height="100"/> | ||
<splash src="res/ios/Default~iphone.png" width="320" height="480"/> | ||
<splash src="res/ios/Default@2x~iphone.png" width="640" height="960"/> | ||
<splash src="res/ios/Default-568h@2x~iphone.png" width="640" height="1136"/> | ||
<splash src="res/ios/Default-667h.png" width="750" height="1334"/> | ||
<splash src="res/ios/Default-736h.png" width="1242" height="2208"/> | ||
<splash src="res/ios/Default-1024h.png" width="768" height="1024"/> | ||
<splash src="res/ios/Default-2048h.png" width="1536" height="2048"/> | ||
<splash src="res/ios/Default-768h.png" width="1024" height="768"/> | ||
<splash src="res/ios/Default-1536h.png" width="2048" height="1536"/> | ||
<splash src="res/ios/Default-1242h.png" width="2208" height="1242"/> | ||
<feature name="StatusBar"> | ||
<param name="ios-package" onload="true" value="CDVStatusBar"/> | ||
</feature> | ||
<preference name="Orientation" value="portrait"/> | ||
<preference name="Fullscreen" value="true"/> | ||
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge" overwrite="true"> | ||
<string>So you can photograph items for donation.</string> | ||
</edit-config> | ||
</platform> | ||
<access origin="*"/> | ||
<allow-intent href="https://maps.google.com/*"/> | ||
<allow-intent href="https://www.crossroads.org.hk/*"/> | ||
<allow-intent href="http://www.globalhand.org/*"/> | ||
<allow-intent href="http://crossroads.uservoice.com/*"/> | ||
<allow-intent href="https://crossroads.uservoice.com/*"/> | ||
<allow-intent href="https://checkout.paypal.com/*"/> | ||
<engine name="ios" spec="4.2.0"/> | ||
<engine name="android" spec="~5.1.1"/> | ||
<engine name="windows" spec="~4.3.1"/> | ||
<plugin name="phonegap-plugin-push" spec="~1.4.5"> | ||
<variable name="SENDER_ID" value="XXXXXXX"/> | ||
</plugin> | ||
<plugin name="cordova-plugin-statusbar" spec="~2.1.1"/> | ||
<plugin name="cordova-plugin-device" spec="~1.1.1"/> | ||
<plugin name="cordova-plugin-whitelist" spec="~1.2.1"/> | ||
<plugin name="cordova-plugin-inappbrowser" spec="~1.2.1"/> | ||
<plugin name="cordova-plugin-network-information" spec="~1.2.0"/> | ||
<plugin name="cordova-plugin-actionsheet" spec="https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git"/> | ||
<plugin name="cordova-plugin-camera" spec="~2.1.0"/> | ||
<plugin name="cordova-plugin-splashscreen" spec="~3.1.0"/> | ||
<plugin name="com.nrswolf.cordova.push-notifications-status" spec="https://github.com/nrswolf/cordova-plugin-push-notifications-status.git"/> | ||
<plugin name="cordova-plugin-ios-no-export-compliance" spec="https://github.com/mikaoelitiana/cordova-plugin-ios-no-export-compliance.git" /> | ||
<plugin name="com.phonegap.plugins.nativesettingsopener" spec="https://github.com/selahssea/Cordova-open-native-settings.git" /> | ||
<plugin name="cordova-launch-review" spec="1.0.3" /> | ||
</widget> |
This file was deleted.
Oops, something went wrong.