GithubHelp home page GithubHelp logo

johann01 / react-native-mlkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from infinitered/react-native-mlkit

0.0 0.0 0.0 516.47 MB

Shell 0.72% JavaScript 12.59% Ruby 0.58% Kotlin 8.12% TypeScript 40.58% CSS 26.32% Swift 6.18% HTML 2.36% EJS 0.89% MDX 1.65%

react-native-mlkit's Introduction

@infinitered/react-native-mlkit

RNMLKit provides Expo modules that allow developers to use MLKit native libraries in their Expo apps.

Quickstart: Running the example app

1. Clone the project

git clone [email protected]:infinitered/react-native-mlkit.git

2. Install dependencies

cd react-native-mlkit
yarn

3. Build native modules

yarn build

5. Create a development build of the app

iOS

Note: MLKit is not supported in the iOS simulator. You will need to use a hardware device.

Via Terminal
cd apps/InfiniteRedAI

npx expo run:ios -d
Via XCode
  1. Create the native project folders
cd apps/InderfiniteRedAI

npx expo prebuild
  1. Open apps/InfiniteRedAI/ios/InfiniteRedAI.xcworkspace in XCode
  2. Select the InfiniteRedAI target, and select a Team on the "Signing & Capabilities" tab
  3. Select your target hardware device (MLKit is not supported in the simulator at this time)
  4. Click the play button to build the app

Android

Note: Android support is currently under active development, some modules may not function as intended

cd apps/InfiniteRedAI

# run on hardware device
npx expo run:android -d

Organization

The monorepo is organized into the following sections:

  • Apps -- holds the example app (InfiniteRedAI) that demonstrates how to use the modules.
  • Modules -- holds the modules themselves. Each module is a separate npm package, and they are published to npm under the name @infinitered/[module name].
  • Packages -- holds internal packages that are only used by the modules and are not published to npm. Things like the linter config.

Usage

For usage instructions see the readme in each module's directory.

Building

Use yarn build at the root level to compile typescript in all workspaces. You will need to do this when you make changes before other modules to be able to see the changes. (The packages have a main field that points to the compiled code.)

Running yarn build inside of an expo module workspace will start watch mode for files inside of that module.

react-native-mlkit's People

Contributors

trevor-coleman avatar github-actions[bot] avatar frankcalise avatar turbobot-temp avatar gantman avatar cdanwards avatar mazenchami 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.