Android SDK for proxyland.io
Add the private repository.
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/fagenorn/proxyland-sdk")
credentials {
username = "fagenorn"
password = "ACCESS_TOKEN"
}
}
}
And include the library itself.
dependencies {
implementation 'com.betroix.proxyland:proxyland-sdk'
}
import com.betroix.proxyland.ProxylandSdk;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ProxylandSdk.initializeAsync(this, "PARTNER_ID", "API_KEY");
}
}
import com.betroix.proxyland.ProxylandSdk
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
ProxylandSdk.initializeAsync(this, "PARTNER_ID", "API_KEY")
}
}