Set up your XION Mobile Development Environment
Last updated
Was this helpful?
Last updated
Was this helpful?
To build a mobile app on XION with React Native and Expo, your development environment must support either Android or iOS. This guide walks you through the steps to initialize a React Native mobile app with Expo and configure it to work with XION using the @burnt-labs/abstraxion-react-native
package and have it running on either Android or iOS.
The Java Development Kit (JDK) is required for Android development. The following instructions will help you to install JDK on your operating system.
Use Homebrew to install the Azul Zulu OpenJDK, which supports both Intel and Apple Silicon Macs.
In your terminal, run:
Once the installation is complete, set the JAVA_HOME
environment variable by adding the following to your ~/.bash_profile
(or ~/.zshrc
if you're using Zsh):
Download:
During setup, install:
Android SDK
Android SDK Platform-Tools
Android Virtual Device (AVD) Manager
Go to Settings > Languages & Frameworks > Android SDK. From the SDK Platforms tab, select the latest Android version (API level).
Click on the SDK Tools tab and make sure you have at least one version of the Android SDK Build-Tools and Android Emulator installed.
Open Android Studio > Device Manager
Create a new virtual device (recommended: Pixel 5 with Android 13 or newer)
Add to your shell config (e.g., ~/.bashrc
or ~/.zshrc
):
Then run:
Install Command Line Tools via your terminal by executing:
To install an iOS Simulator, open Xcode > Settings... > Components, and under Platform Support > iOS ..., click Get.
Now that your project is set up, the next guide will walk you through authenticating users with Meta Accounts using Abstraxion.
Download from the
For more detailed guidance on configuring your development environment, refer to the official Expo setup guide: .