0.1.9 • Published 1 year ago

react-native-juicelife v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago