A nearby content discovery client for Android and iOS built with React-Native.
npm install react-native react-native-cli -g
git clone git@github.com:mozilla-magnet/magnet-client.git && cd magnet-client
npm install
npm start
react-native run-android
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.
Follow the 'running on device' instructions.
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.