Skip to content

Building Magnet client

Maria Angeles Oteo edited this page Sep 23, 2016 · 3 revisions

Magnet client is developed using React Native, which is a technology that allows the development of applications for Android and iOS using Web Technologies (JavaScript and React).

Requirements:

  • In order to start using React Native you need to install node (>=v5.11.0) and npm (>=3.8.6).
  • You need the proper SDK/Tools for the platform you want to build magnet for:
    • Android SDK in the case of Android
    • xCode, an Apple Developer Account and a provisioned iOS device in the case of iOS
  • Install react-native by: npm install react-native react-native-cli -g

Downloading & Configuring Magnet

  • Clone magnet-client project: git clone [email protected]:mozilla-magnet/magnet-client.git && cd magnet
  • Install the required dependencies: npm install
  • Start the development server: npm start

Running magnet client

Android:

iOS:

  • Follow the 'running on device' instructions.

    NOTE: If you don't have a team certificate for the Mozilla organization choose your own developer certificate (or create one) and change the bundle identifier.