Electrode Native
v0.43
v0.43
  • Introduction
  • INTRODUCTION
    • Overview
      • What is Electrode Native
      • Why use Electrode Native
      • What is a MiniApp
      • Electrode Native workflow
      • Native dependencies management
      • JS/Native communication
      • Requirements
      • Upgrading Electrode Native
      • Contributing
  • REFERENCE
    • Bundle Store
    • Composite
    • Container
      • What's inside
      • Publication
      • Integration
      • Initialization
      • Launching MiniApps
    • Cauldron
      • Structure
      • Setup
      • Compatibility checks
      • Guidelines
    • Manifest
      • Override
      • Native Modules
      • Configurable Modules
    • Runner
    • APIs
      • Project Generation
      • Implementation
      • Versioning
      • Guidelines
    • Bridge
      • Message Types
      • Communication
      • Leveraging APIs
    • CLI
      • Global CLI
      • Local CLI
    • GLOSSARY
  • GUIDES
    • Debugging multiple MiniApps
  • CLI COMMANDS
    • add
    • bundlestore
      • create
      • delete
      • upload
      • use
    • binarystore
      • add
      • get
      • remove
    • code-push
      • patch
      • release
      • promote
    • compat-check
    • create-api-impl
    • create-api
    • create-composite
    • create-container
    • create-plugin-config
    • publish-container
    • transform-container
    • create-miniapp
    • link
    • regen-api
    • regen-api-impl
    • run-android
    • run-ios
    • start
    • unlink
    • upgrade-miniapp
    • cauldron add
      • file
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron config
      • get
    • cauldron del
      • file
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron get
      • config
      • dependency
      • nativeapp
    • cauldron repo
      • add
      • clear
      • current
      • list
      • remove
      • use
    • cauldron update
      • file
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron batch
    • cauldron regen-container
    • cauldron upgrade
    • cauldron why
    • github
      • github create-ref
      • github delete-ref
      • github align-dependencies
    • platform
      • plugins
        • list
        • search
      • config
        • set
        • get
        • del
        • list
      • install
      • versions
      • uninstall
      • use
Powered by GitBook
On this page
  • Node
  • npm or Yarn
  • Git
  • Android Studio
  • Xcode
  • CocoaPods
  • Additional optional requirements
  • What about React Native ?
  1. INTRODUCTION
  2. Overview

Requirements

PreviousJS/Native communicationNextUpgrading Electrode Native

Last updated 4 years ago

Depending on whether you are building Android or iOS apps, the following tools are required:

  • Node.js >= 10

  • npm >= 5.6.0

  • Android Studio (for Android apps)

  • Xcode >= 10 (for iOS apps)

  • CocoaPods (if using a version of React Native >= 0.60)

Electrode Native is primarily a Node.js application therefore, Node 10+ must be installed on your workstation.

Note You also need to install npm or Yarn in order to install the Electrode Native platform. When you install Node.js, npm is automatically installed.

or

You need to have the git command line client installed on your workstation and declared in your PATH (i.e if you type git from a command prompt / terminal, it should not fail with "command not found" error).

Electrode Native is relying on the git client for access as well as access, and also to publish your Containers to git if you want to use such a publisher.

After you install Android Studio, set the ANDROID_SDK env variable to point to the location of the Android SDK--if it has not been set already. An example of the SDK path is shown below.

$ export ANDROID_SDK=/Users/[YOUR_USER_NAME]/Library/Android/sdk

Xcode 10 or later version is required.

If running Electrode Native on a Mac, and using a version of React Native >= 0.60, CocoaPods install is required even if only targeting Android platform.

Additional optional requirements

  • If your workflow involves working with a cauldron, you'll need to have a GitHub or BitBucket account.

  • If your workflow involves pushing OTA updates using CodePush, you'll need to have an account setup for CodePush.

What about React Native ?

You don't need to have React Native installed on your machine. If you have it already installed, that's great--it's not really a problem. The same applies for Yarn and CodePush.

Electrode Native ships with its own local version of React Native as well as Yarn and CodePush. Including these tools shorten our list of requirements--which ultimately simplifies setup for you and also makes the platform safer and stable as it does not require multiple versions of these tools--even though, every user could have a different version of these tools already installed.

You need to install if you want your MiniApp to target the Android platform or if you need to generate containers targeting Android mobile applications.

You need to install if you want your MiniApp to target the iOS platform or if you need to generate containers targeting iOS mobile applications.

Node
npm
Yarn
Git
Cauldron
Manifest
Android Studio
Android Studio
Xcode
Xcode
CocoaPods