Welcome to the Rainbow SDK for React Native! This React Native SDK library was built in Typescript and we published it as a Node.js package. Since our library is written with TypeScript, it would be nice to have access to our package from TypeScript and JavaScript projects alike. so we used a React Native library builder called bob, which is a simple CLI to scaffold and build React Native libraries for different targets. bob also provides simple example modules for Android and iOS which you can build upon.
Follow these instructions to install Rainbow SDK for React Native!
Start using the components or try it by running the sample app You can find it in the example project we provided in the SDK repository example link
import React, { Component } from 'react';
import { Invitations, Logger } from 'react-native-rainbow-module';
const logger = new Logger('InvitationsComponent');
export class InvitationsComponent extends Component {
constructor(props: any) {
super(props);
}
public render() {
logger.info('has rendered: InvitationsComponent');
return (
<Invitations />
);
}
}
- Connecting to rainbow
- Dialpad
- Invitations
- Button
- Logger
- Im Conversation
- Permissions
- CallLogs
- Contacts
- Conversations
- WebRtc/PBX Calls
- Bubbles
- Search
- searchBarInput
- Messages
Checkout the official React Native Rainbow App on Github repo which uses all of the Rainbow React Native components.