0.1.9 • Published 11 months ago

react-native-juicelife v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

react-native-juicelife

The package allows you take ai workouts using juicelife, install, add keys and use. No stress :)

Installation

Add react-native-juicelife to your project by running:

npm install react-native-juicelife

One more thing

To front-load the installation work, let's also install and configure dependencies used by this project, being react-native-webview

run:

npm install react-native-webview

for iOS: cd iOS && pod install && cd ..

for expo applications run:

expo install react-native-webview

and that's it, you're all good to go!

Usage

import React from 'react';
import Juicelife from 'react-native-juicelife';
import { View } from 'react-native';

function Pay() {
  return (
    <View style={{ flex: 1 }}>
      <Juicelife
        apiKey="xxxxxx"
        workoutId="xxxxxxx"
        callback={(result) => {}}
        metaData={{}}
      />
    </View>
  );
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.1.9

11 months ago

0.1.7

12 months ago

0.1.6

12 months ago

0.1.5

12 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago