Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
/ pocket-combine Public archive

Pocket Combine is a small Android app using the SWCombine.com Web Service.

License

Notifications You must be signed in to change notification settings

lepus2589/pocket-combine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ab8645b · Jan 23, 2017

History

18 Commits
Jan 23, 2017
Dec 5, 2015
Jan 23, 2017
Jan 23, 2017
Feb 7, 2016
Dec 5, 2015
Feb 7, 2016
Dec 6, 2015
Jan 23, 2017
Feb 7, 2016
Jan 26, 2016

Repository files navigation

Pocket Combine

Pocket Combine is a small Android app using the SWCombine.com Web Service.

Build process

To build this project, you'll first need a current Node.js installation on your machine.

Global dependencies

Using the Node package manager, you can now install the global dependencies, namely Cordova and Grunt CLI.

npm install -g cordova grunt-cli

If you are on a Linux machine, you may have to execute the command as root using sudo.

Local dependencies

The local dependencies can be installed by simply doing

npm install

in the project directory (containing the package.json)

Initialize project folder

The remaining initialization is done via

grunt init

This downloads the library type definitions used in this project via Typings, installs all necessary Cordova plugins, adds the supported platforms and creates a configuration file, where you can enter your app credentials before build.

SWCombine App credentials

To build a working app, you'll need to register it with SWCombine. For this, you must first have a player account. Login to SWCombine and register your app. You'll receive a set of app credentials.

Enter your app credentials into the config file created by the init task (the officially released APKs contain my app credentials).

The app credentials are obfuscated during the build process and are hard, but not impossible, to extract from the APK. You cannot store the app credentials in a cryptographically safe way, because the app must be able to access them on its own. So the key to the cypher must always be stored inside the APK, too, thus compromising security.

Build the project

Now, everything is prepared to build the app. But to package it into an APK, you'll additionally have to setup the Android Stand-alone SDK Tools for Cordova to use (see the Cordova documentation for instructions). Finally, execute

cordova build

and in the ./platforms directory, you should find the folders for the supported platforms, respectively, and inside, the ready to use app.

About

Pocket Combine is a small Android app using the SWCombine.com Web Service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages