Skip to content
A nearby content discovery client for Android & iOS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
build-scripts
ios
lib
marketing
test
.babelrc
.buckconfig
.eslintrc
.flowconfig
.gitignore
.travis.yml
.watchmanconfig
LICENSE
README.md
config.js
config.json
index.android.js
index.ios.js
package.json
yarn.lock

README.md

Stories in Ready

Magnet

A nearby content discovery client for Android and iOS built with React-Native.

Setup

  1. Make sure that you have node >= v5.11.0 and npm >= 3.8.6
  2. Install react-native on your machine: npm install react-native react-native-cli -g
  3. Clone this project: git clone git@github.com:mozilla-magnet/magnet-client.git && cd magnet-client
  4. Install dependencies: npm install
  5. Start the development server: npm start

Running on Android

  1. Follow the 'running on device' instructions
  2. Run react-native run-android

Running on iOS

  1. Install 'Carthage' you can use the 'latest release'. And perform the following from the ios directory:
carthage bootstrap --platform iOS

If you already have Carthage installed, this step has been added as part of the postinstall npm scripts.

  1. Follow the 'running on device' instructions.

  2. If you want to run the local development server, which hosts the JavaScript bundle for React native, you need to update didFinishLaunchingWithOptions to load from the server instead of from a bundle. There is a line commented out.

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

You can’t perform that action at this time.