If you have been using the Applause SDK in your pre-production environment and wish to continue using it in production to automatically capture crash and session data, a configuration change is needed before pushing the build to production.

The needed code change is made where the SDK sessions are started. The Pre-Production version is:

public class MyApplication extends Application {
    public static final String APP_KEY = "Your-Application-Key-Goes-Here";
 
	@Override
	public void onCreate() {
		super.onCreate();
		Applause.startNewSession(this, APP_KEY);
 
	}
}

That code block should be revised to the Production version:

public class MyApplication extends Application {
 
   final String APP_KEY = "Your-Application-Key-Goes-Here";
   @Override
   public void onCreate() {
       super.onCreate();
       Configuration configuration = new Configuration.Builder(this) 
           .withAPIKey("Your-Application-Key-Goes-Here") 
           .withMode(Applause.Mode.MARKET) 
           .build(); 
       Applause.startNewSession(this, configuration);
   }
}