XION
DiscordGithub
  • Welcome to XION
  • XION'S Core
    • Concepts
      • Generalized Chain Abstraction
      • Intro to Account Abstraction
      • XION's Meta Accounts
      • Meta Accounts Design
      • Architecture & Tech Glossary
      • Use Cases
  • developers
    • XION Quick Start
      • Zero to App in 5 Minutes
        • Launch a User Map App on XION in 5 Minutes
        • React Native Mobile App on XION in 5 Minutes
    • Mobile App Development
      • Set up your XION Mobile Development Environment
      • Create Mobile App and Integrate Meta Account Authentication
      • Building a React Native Mobile App with Abstraxion (Xion.js)
    • Getting Started (Advanced)
      • Set Up Local Environment
        • Setting up your Local Smart Contract Development Environment for XION
          • Setting up your XION Smart Contract Development Environment on Windows (WSL2 + Ubuntu)
        • Set Up an Integrated Development Environment (IDE)
        • Interacting with Xion Chain using Xion Daemon
      • Your First Contract
        • Deploying Your First Smart Contract on XION
      • Gasless UX & Permission Grants
        • Enabling Gasless Transactions with Treasury Contracts
      • App Development
        • Account Abstraction with Gasless Transactions
        • Interact with XION via your Backend Service
    • Re-using Existing Contracts
      • Deployed Contracts on XION
      • Non-Fungible Tokens (NFTs)
      • Fungible Tokens
      • Marketplace
      • Multisig
      • Proxy Contracts
      • Membership Management
      • Governance
      • Valuts
      • SCV Audited Contracts
    • Web3 for Web2 Developers
      • Web2 vs Web3 App Architecture: A Comparison
      • Misconceptions and Misapplied Web2 Patterns
      • Recommended Architecture for Apps on XION
    • Building for Mainnet
      • Xion Testnet: Your Development Playground
      • Building with Audited & Battle-Tested Contracts
      • Community Engagement: Building Support for Your app
      • Deploying to Xion Mainnet
        • Smart Contract Audits: Process, Costs & Support
        • Governance Process to Deploying Smart Contracts to Mainnet
    • Learn & Build
      • Token Factory
        • Creating, Minting, and Interacting with a Token Factory Token
        • Building a React dApp to Interact with Token Factory Tokens
        • Integrating a Token Factory Token in a Smart Contract
      • Websockets
        • WebSockets with Xion: Real-Time Communication
      • Oracles
        • Creating a Smart Contract with Pyth Oracle Integration
      • Indexers: Optimized Data Retrieval
        • SubQuery
      • Use Cases
        • Building a Per-User Data Storage App
    • Reference and Resources
      • Requesting XION Testnet Tokens
      • Public Endpoints & Resources
      • Block Explorers
      • Governance
        • Deploying Smart Contracts to Mainnet
      • Developer Tools: Abstract
      • IBC Denoms on XION Networks
      • Frequently Asked Questions
      • XION Token Contract Addresses on EVM Chains
  • Nodes & Validators
    • Run a Node
      • System Specifications
      • Build the Xion Daemon
      • Download the Xion Daemon
      • Configure the Xion Daemon
        • app.toml
        • client.toml
        • config.toml
      • Join the XION Network
        • xion-testnet-1
      • Confirm node is running
    • Become a Validator
      • Initial Setup
      • Obtain a XION Wallet Address
      • Obtain Funds
        • Testnet
      • Create Validator
    • IBC Relayers and Tokens
  • Others
    • Resources
Powered by GitBook
On this page
  • Android Setup
  • Install Java Development Kit
  • Install Android Studio
  • Set Up Android Emulator
  • Add Environment Variables (macOS/Linux)
  • iOS Setup (macOS only)
  • Install Xcode
  • Install an iOS Simulator
  • Next Steps

Was this helpful?

Edit on GitHub
  1. developers
  2. Mobile App Development

Set up your XION Mobile Development Environment

PreviousMobile App DevelopmentNextCreate Mobile App and Integrate Meta Account Authentication

Last updated 1 day ago

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.

Android Setup

Install Java Development Kit

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:

brew install --cask zulu@17

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):

export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home

You can get either through your system’s package manager or by downloading it directly from .

Requirements

Before proceeding, ensure you have a package manager like Chocolatey set up on your system.

Install Required Tools

To install the Java SE Development Kit (JDK), run the following command in your terminal:

choco install -y microsoft-openjdk17

Install Android Studio

  • 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.

Set Up Android Emulator

  • Open Android Studio > Device Manager

  • Create a new virtual device (recommended: Pixel 5 with Android 13 or newer)

Add Environment Variables (macOS/Linux)

Add to your shell config (e.g., ~/.bashrc or ~/.zshrc):

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools

Then run:

source ~/.zshrc # or your respective shell file

iOS Setup (macOS only)

Install Xcode

  • Install Command Line Tools via your terminal by executing:

xcode-select --install

Install an iOS Simulator

To install an iOS Simulator, open Xcode > Settings... > Components, and under Platform Support > iOS ..., click Get.

Next Steps

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: .

OpenJDK
AdoptOpenJDK
Android Studio
Mac App Store
https://docs.expo.dev/get-started/set-up-your-environment/