Initialization¶
In Your app main activity of the main module (e.g “app”) of the project
@Override
protected void onCreate(Bundle savedInstanceState) {
..
// initialize SDK
// false if for development environment, true if for production environment
GtvSdk.init(this, false,object: GtvConfigCallback{
override fun onFinish(response: Boolean) {
super.onFinish(response)
//response: false if config service false, true if config service true
Log.i("GTV_Config_Services",response.toString())
}
})
..
}