One of the essential steps that should be taken to start working with Ubertesters or other mobile testing software is an integration of your app with the SDK. We are trying to make this process smooth and simple for your convenience. Another side that requires attention is flexibility and customization of the provided SDK. Different mobile apps require different solutions. We understand how it is important for our customers to have the SDK that suits their needs. That is why we offer Ubertesters SDK options, which allow you to manage our SDK in different ways.
According to their functions all the Ubertesters SDK options can be divided in two groups:
Let’s discuss each option in more detail.
The following three activation mode options determine the behavior of Ubertesters widget:
Are you testing an app with simple interface? This option is for you.
Are you testing an app with different UI elements and would not like to have an additional element on your screen? Does the widget makes you nervous? Use Shake option and you will not face such a problem.
Hint! In shake mode first shake will open the Ubertesters menu, second shake will take a screenshot and will open screenshot edit screen.
See the example for iOS below:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
[[Ubertesters shared] initializeWithOptions:UbertestersActivationModeWidget];
return YES;
}
If you do not need Ubertesters widget to be shown on your app screen, however would like to call it after some function in your code – use this method. API methods can be used to take a screenshot, to hide or show the widget and Ubertesters menu.
See the example for iOS:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
[[Ubertesters shared] initializeWithOptions:UbertestersActivationModeManual];
return YES;
}
Hint! Make sure to specify the correct name of the option when dealing with different mobile platforms. For example, you should use UbertestersActivationModeManual for iOS and ActivationMode.Manual for Android. Check the options for your platform.
The following three activation mode options determine the behavior of Ubertesers SDK when the build is not uploaded to our server:
import com.ubertesters.common.models.LockingMode;
import com.ubertesters.sdk.Ubertesters;
...
Ubertesters.initialize(this,
LockingMode.DisableUbertesters);
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
NSLog(@"TRYING TO WAKE UP UBERTESTERS");
[[Ubertesters shared] initializeWithOptions:UbertestersLockingModeDisableUbertesters];
return YES;
}
You can use the combination of methods that will work with your app, for example, activation mode Widget and locking mode UbertestersLockingModeDisableUbertesters.This option will not lock your application if the build is not uploaded on our server.
How it looks for Android apps:
import com.ubertesters.common.models.ActivationMode;
import com.ubertesters.common.models.LockingMode;
import com.ubertesters.sdk.Ubertesters;
...
Ubertesters.initialize(this,
LockingModeDisableUbertesters, ActivationMode.Widget);
public enum ActivationMode {
Widget,
Shake,
Manually
}
How it works for iOS (UbertestersLockingModeDisableUbertesters and UbertestersActivationModeShake options are used):
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
NSLog(@"TRYING TO WAKE UP UBERTESTERS");
[[Ubertesters shared] initializeWithOptions:UbertestersLockingModeDisableUbertesters | UbertestersActivationModeShake];
return YES;
}
The variety of Ubertesters options make our SDK flexible. From one side you are not limited with one option. From another side, you do not need to develop your own custom options and can use the ready-made decisions. Check SDK integration for your platform and choose the options you need!
Get in touch, fill out the form below, and an Ubertesters representative will contact you shortly to find out how we can help you.
Want to see the Ubertesters platform at work? Please fill out the form below and we'll get in touch with you as quickly as possible.
Fill out a quick 20 sec form to get your free quote.
Please try again later.