Giter Club home page Giter Club logo

seekreactnative's Introduction

Seek App Version 2.0

Seek is an app for identifying plants and animals. It is available on iOS and Android.

Installation

  1. Make sure you're running the Node version specified in .nvmrc. Realm only works with certain versions of Node, so you will need this for local data storage.
  2. Install dependences with npm install
  3. If building for iOS, run pod install from within the ios directory.

Setup files

  1. Go to android/app/src/main/res/values and rename config.xml.example to config.xml (and change its values to match your API keys)
  2. Rename config.example.js to config.js and change the JWT secret.
  3. Add AR Camera model files to the project.
  • On Android, these files are named optimized_model.tflite and taxonomy_data.csv. They should be placed in a camera folder within Android assets (i.e. android/app/src/main/assets/camera).
  • On iOS, these files are named optimized_model.mlmodel and taxonomy.json and should be added to the Resources folder in XCode.
  1. Add files to utility/commonNames to allow the AR camera to load common names in localized languages. The latest files are attached as assets in commonNames.tar.gz on the Seek releases page.

Run build

  1. Run npm start
  2. Build locally to a device or simulator by running npm run ios or npm run android

Manual Linking

Most third-party libraries use autolinking as of React Native 0.60.0. Any exceptions are listed in the react-native.config.js file. Currently, react-native-inat-camera on Android is manually linked.

Troubleshooting

  1. One common issue in React Native involves libraries not being found by the bundler. If this happens, React Native will display an error message that tells you to clear the cache using the following steps:
  • Clear watchman: watchman watch-del-all
  • Delete and reinstall node_modules: rm -rf node_modules && npm install
  • Reset the bundler cache: npm start -- --reset-cache
  1. Cleaning the project can also help with build issues.
  • To do this on Android, run ./gradlew clean from within the android directory.
  • For iOS, use XCode > Product > Clean Build Folder.

Translations

We do our translations on Crowdin. Head over to https://crowdin.com/project/seek and create an account, and you can start suggesting translations there. We regularly export translations from Crowdin and import them to this project.

seekreactnative's People

Contributors

albullington avatar kueda avatar alexshepard avatar pleary avatar budowski avatar mutolisp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.