You can remotely close your beta and/ or force early adopters or beta testers to automatically migrate to newer version or release version in app store. To use kill switch feature, first integrate Vessel SDK properly. To enable Vessel kill switch you need to configure update receiver in your application as follows.
To check updates periodically add following method in your onResume method.
@Override
protected void onResume() {
//Register update receiver
VesselSDK.registerUpdateReceiver(MainActivity.this);
super.onResume();
}
Unregister update receiver, in onPause method as shown bellow. This will cancel any pending check.
@Override
protected void onPause() {
VesselSDK.unRegisterUpdateReceiver();
super.onPause();
}
You can remotely close your beta and/ or force early adopters or beta testers to automatically migrate to newer version or release version in app store. To use kill switch feature, first integrate Vessel Framework properly. To enable Vessel kill switch you need to configure framework as below.
To check updates periodically add following in applicationWillEnterForeground method.
- (void)applicationWillEnterForeground:(UIApplication *)application{
[Vessel checkDistributionStatus];
}