Install the BaltoSDK in an Android App

This page will guide you through installing the BaltoSDK into your Android app which is done in Android Studio.

1. Add code to build.gradle

Add the following codes to app/build.gradle.

apply plugin: 'io.balto'

buildscript {
    repositories {
    dependencies {
        classpath 'io.balto:balto-plugin:2.0.6'

android {
    buildTypes {
        [YOUR_BUILD_TYPES] {
            debuggable true

dependencies {
    compile 'io.balto:balto-sdk:2.1.2'

2. Add Code to Application class

A. If an application class already exists

From your AndroidManifest.xml file,  <application android:name="classname" /> if the specified Application class already exists in the project, open the class and add the following code in the first row in onCreate().


B. If an application class does not exist 

If the Application class does not exist in your project, create in the package route. For example, if your app package name is  org.example, enter the details as src/org/example/ And in that file, enter the following code:

package org.example;

import com.goodpatch.feedbacktool.sdk.Balto;

public class App extends Application {
    public void onCreate() {

Then in your AndroidManifest.xml file, under the  <application> tag, add the attribute,android:name.

By following the steps above will complete the process of installing the BaltoSDK into your Android app.


Other Notes

  • Balto requires Android 4.1 or higher.
  • You cannot upload an .apk file that does not have the BaltoSDK installed.
  • The .apk file cannot be uploaded more than once.
  • Reviewers will only be able to leave feedback on apps (projects) who have installed the projects via the Balto app. 

The Japanese version of this article can be found here:

Still need help? Contact Us Contact Us