Skip to main content

React Native - Native Android

React Native - Android

Requirements

  • Download and install the latest JDK
  • Required software:
    • Android Studio IDE
    • Android SDKs for developing Android apps.

Installing “Android Studio IDE”

Refer to the official Android Studio installation documentation.

  • (Windows)

    • Assure that the environment variable JAVA_HOME is set to the correct JDK installation directory via command “set JAVA_HOME” or the windows control panel.
    • Verify that the development machine meets the system requirements for Android Studio/SDK.
    • Download and install android studio. About 3-4 GB of free disk space is required.
  • (MacOS)

    • Verify that the development machine meets the system requirements for Android Studio/SDK
    • Download and install android studio. About 3-4 GB of free disk space is required.
    • OS X may display a warning that the package is damaged and should be moved to the trash. In that case, under Preferences/Security & Privacy/Allow applications downloaded from, select "Anywhere".

1 - Initializing the SDK

The register() method of the Group Link library must be initialized inside the core Application of the App. Therefore, create an application class extending Application(not ReactApplication), and register in the AndroidManifest of the app. After creating or identifying the core Application class, just follow the regular Quickstart Android guide. If you need help asking needed permissions just follow the Asking Runtime Permissions (ANDROID-React-Native) guide.