We’ve a created a pair of GitHub repos which contain the BlinkUp SDK files that we usually offer only as a download. This will allow app developers to add the SDK to your app project repos as a git sub-module. You can then pull in SDK changes manually at build time, or automatically through your build scripts.
There is one repo per native SDK:
To install an SDK as a sub-module, navigate to your project repo directory and then enter the following command:
git submodule add https://github.com/electricimp/BlinkUpSDK-Android.git
This will add the SDK repo as a sub-module referenced in the file
.gitmodules , which will be added if it is not yet present. You can now push your local repo to its origin:
git push origin <YOUR_WORKING_BRANCH>
To update the sub-module contents at any time, eg. in a build script, call:
git submodule update --remote
Don’t forget that to make use of the SDKs contained in these repos, you need to be an Electric Imp customer and in possession of an API key. The BlinkUp SDK repos are solely for consumption by a project. Please don’t issue pull requests — if you have questions or issues to raise, please do so through the usual support channel.