1.0.4 ā€¢ Published 4 years ago

react-native-skin-ai v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

React Native Skin AI

A React Native module that allows module allows to capture faces or upload face images from the gallery and analyze data, give advice and treatment of aging problems, facial acne.

šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§

šŸš§šŸš§šŸš§šŸš§Help & Input Wanted šŸš§šŸš§šŸš§šŸš§

šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§šŸš§

React Native Compatibility

To use this library you need to ensure you match up with the correct version of React Native you are using.

p.s. React Native introduced AndroidX support in 0.60, which is a breaking change for most libraries (incl. this one) using native Android functionality.

@react-native-skin-ai versionRequired React Native Version
1.x.x>= 0.60

Getting Started

yarn add react-native-skin-ai

# RN >= 0.60
npx pod-install

# RN < 0.60
react-native link react-native-skin-ai

You will also need to add UsageDescription on iOS and some permissions on Android, refer to the Install doc.

Usage

import SkinAI from 'react-native-skin-ai';

//  For more, read the [API Reference](docs/Reference.md).

/**
 * The first arg is email of user,
 * The second arg is apikey depend on type 
 * The third arg is the server link to post data
 * The last arg is the display language (vi / en)
 */
class App extends React.Component {
  render() {
    return (
      <SkinAI
        email = 'abc@gmail.com',
        apikey = 'apikey',
        linkserver = 'linkserver',
        language = 'en',
        exitPage={() => {}}
      />
    );
  }
}

Notes

For more, read the API Reference.

License

MIT# react-native-skin-ai