2. SDK Integration

Calling functions in activity lifecycle

@Override
protected void onResume() {
    super.onResume();
    FID.INSTANCE.notifyActive(this);
    FPay.INSTANCE.notifyActive(this);
}

@Override
protected void onPause() {
    super.onPause();
    FID.INSTANCE.notifyInactive(this);
    FPay.INSTANCE.notifyInactive(this);
}

Register callback

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    FID.INSTANCE.registerSDK(this);
    FPay.INSTANCE.register(this); 
}

@Override
protected void onDestroy() {
    super.onDestroy();
    FID.INSTANCE.unregisterSDK(this);
    FPay.INSTANCE.unregister(this);
}

Loading dynamic config

Last updated