An app for elevating community meals around the world.
git clone https://github.com/mixersoft/openmaca.git [folder]
cd [folder]
mkdir www
ionic lib update
bower install
npm install
# if you need to run as administrator, use `sudo npm install`
# To continue dev in a new git repo
git remote rename origin seed
git remote add origin [github repo]
git push -u origin master
# add Cordova platforms
# note: this project has only been tested on iOS
ionic platform add ios
gulp build
ionic build ios
# install Cordova plugins from web
ionic plugin add cordova-plugin-console
ionic plugin add com.ionic.keyboard
ionic plugin add cordova-plugin-device
ionic plugin add cordova-plugin-splashscreen
ionic plugin add cordova-plugin-geolocation
# set bower_components/meteor-client-side:
__meteor_runtime_config__.DDP_DEFAULT_CONNECTION_URL = 'http://localhost:3333';
Ionic tabbed view starter project implemented with Sass, Jade and CoffeeScript.
The original project in JavaScript was done by benevolentprof @ ionic-tabs-starter-angular-style, an Ionic tabbed view starter project refactored according to the Angular Style Guide.
<allow-navigation href="https://www.facebook.com/v2.2/dialog/oauth"/>
<allow-navigation href="https://m.facebook.com/v2.2/dialog/oauth"/>
<allow-navigation href="http://staticxx.facebook.com/connect/xd_arbiter.php"/>
<allow-navigation href="about:blank"/>
see https://github.com/mixersoft/accounts-facebook-client-side
git clone https://github.com/jeduan/cordova-plugin-facebook4.git \
./plugins/cordova-plugin-facebook4-git
ionic plugin add ./plugins/cordova-plugin-facebook4-git \
--variable APP_ID="224167074626723" \
--variable APP_NAME="macata"
ionic add ionic-platform-web-client
ionic io init
ionic plugin add ionic-plugin-deploy
ionic config build
add ATS exceptions for ionic deploy
see: https://mobile.awsblog.com/post/Tx2QM69ZE6BGTYX/Preparing-Your-Apps-for-iOS-9
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>snaphappi.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
<key>facebook.com</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>fbcdn.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>akamaihd.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>amazonaws.com</key>
<dict>
<key>NSThirdPartyExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>amazonaws.com.cn</key>
<dict>
<key>NSThirdPartyExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
<key>NSAllowsArbitraryLoads</key>
<false/>
</dict>
You must run
ionic io init
whenever you reset the/www
folder. It copies theapp_id
andapp_key
to theionic.io.bundle
file
gulp build; ionic io init; ionic build ios;
gulp build -p; ionic io init; ionic build ios;
# Initializing app with ionic.io....
# Saved app_id, writing to ionic.io.bundle.min.js...
# Saved api_key, writing to ionic.io.bundle.min.js...