Skip to content

topAmity/asc-react-native-ui-kit

Repository files navigation

Amity Ui-Kit for React native (open-source)

Getting started

Installation

1. git clone [email protected]:AmityCo/Amity-Social-Cloud-UIKit-React-Native-OpenSource.git
2. cd Amity-Social-Cloud-UIKit-React-Native-OpenSource
3. npm pack

This step will build the app and return amityco-asc-react-native-ui-kit-x.x.x.tgz.tgz file in inside the folder

Then, inside another project, where need to use ui-kit:

1. npm install ./../asc-react-native-ui-kit/amityco-asc-react-native-ui-kit-0.1.0.tgz
2. npm install [email protected] \ react-native-screens \ react-native-image-picker

Expo CLI Camera and Gallery Configuration

 expo install expo-image-picker \
              expo-modules-core

React Native CLI Camera and Gallery Configuration

 npm install react-native-image-picker             

Usage

import * as React from 'react';

import {
  AppNavigator,
  AmityUiKitProvider,
} from '@amityco/asc-react-native-ui-kit';

export default function App() {

  return (
    <AmityUiKitProvider
      apiKey="API_KEY"
      apiRegion="sg"
      userId="userId"
      displayName="displayName"
    >
      <AppNavigator />
    </AmityUiKitProvider>
  );
}

Documentation

Please refer to our online documentation at https://docs.amity.co or contact a Ui-Kit representative at [email protected] for support.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published