Skip to content

delijati/crabstore

Repository files navigation

Crapstore

This is the manual to build an EXPERIMENTAL google market client crabstore.

Setup

Download android sdk and install sdk-tools api 19 aka 4.4.2.

Download node and npm.

Install

Set path:

$ export PATH=${PATH}:/opt/develop/privat/android-sdk-linux/platform-tools:/opt/develop/privat/android-sdk-linux/tools

Set install ionic:

$ npm install -g ionic

Add platform:

$ ionic platform add android

We need to add whitelist to set permission in config.xml:

$ ionic plugin add https://github.com/apache/cordova-plugin-whitelist.git
$ ionic plugin add cordova-plugin-file-transfer

Add user agent plugin:

$ ionic plugin add https://github.com/LouisT/cordova-useragent

See log:

$ adb logcat

Edit file transfer java:

platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java

Run

Run:

$ ionic emulate android

Set the android id to the one that is registered with your google account or download won't work.

Run local with proxy

Ionic uses a proxy middleware but i wasn't able to get it running properly :/

ionic/node_modules/proxy-middleware/index.js

Configure app to use proxy http://ionicframework.com/docs/cli/test.html

To get the google api running we also need to set the user-agent there is a plugin for ff to do that.

https://addons.mozilla.org/de/firefox/addon/user-agent-overrider/

Icons & splash

Icon sollte 192x192 px haben und splash 2208x2208

Erstellen:

$ ionic resources --icon
$ ionic resources --splash

Testing

First we install all needed dependencies:

$ npm install

Now we are able to run tests:

$ node_modules/gulp/bin/gulp.js test

Build after checkout

$ ionic state restore
$ ionic state restore --plugins

Check for updates

This seams to be broken currently in JS. bower update is not really checking latest versions. So i tried https://www.npmjs.com/package/npm-check-updates

About

Google Play Store Client in JS (Ionic)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors