The Android version of the Cameo Framework.
allprojects { repositories { maven { url "https://jitpack.io" } } } dependencies { implementation "com.github.hivesolutions:cameo-android:0.4.2" }
ProxyRequest.setBaseUrl(this, "http://api.service.com/") ProxyRequest.setLoginPath("api/login.json"); ProxyRequest.setLoginLogo(R.drawable.logo); ProxyRequest.request(this, "api/ping.json", new ProxyRequestDelegate() { @Override public void didReceiveJson(JSONObject data) { } @Override public void didReceiveError(Object error) { } });
The current deployment strategy uses JitPack, making use of GitHub releases.
This is an easy to go solution as it only requires tagging a certain Git commit and a version is automatically made available at https://jitpack.io/#hivesolutions/cameo-android.
Cameo Android is currently licensed under the Apache License, Version 2.0.