Skip to content

betaplay/BetaplaySDK-Android

Repository files navigation

#Betaplay SDK#

  • is simple ACRA extension witch uses HttpClient to POST json data to server
  • you can use JsonSender class and create your own custom mapping required by your own server
  • or you can try to use betaplayapp

Example how to use JsonSender:

public static void init(Application app) {
		
		ACRA.init(app);
		
		Map mapping = new HashMap();
		mapping.put(ReportField.APP_VERSION_CODE, "appVersionCode");
		
		ACRA.getErrorReporter().removeAllReportSenders();
        ACRA.getErrorReporter().addReportSender(new JsonSender(mapping));

Example how to use Betaplay:

@ReportsCrashes(formKey = "{your_form_key_here}", formUri = "https://betaplayapp.com/api/log")
public class AtcApplication extends Application {
	@Override
	public void onCreate() {
		Betaplay.init(this);
		super.onCreate();
	}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages