Configure the Reader SDK Sample Application

Download the Reader SDK sample application from GitHub and complete the following steps to configure the sample application for your environment:

  1. Download the Reader SDK sample application for Android and then return to this page to proceed.

  2. Sign in to the Developer Dashboard and open your application.

  3. In the left pane, choose Reader SDK.

  4. At the top of the page, change the environment from Sandbox to Production.

  5. Copy the application ID and repository password.

  6. In ./gradle.properties, set the variables for your Square application ID and repository password from the Reader SDK page by replacing the '{}' characters and the uppercase placeholder text between them with your application credentials.

    SQUARE_READER_SDK_APPLICATION_ID="{APPLICATION ID FROM STEP 1}" SQUARE_READER_SDK_REPOSITORY_PASSWORD="{REPO PASSWORD FROM STEP 1}"
  7. Import the project into Android Studio.

    If you run into errors while building the project, you should clean the project and reopen Android Studio before continuing.