react-native-chatbot-sdk

React Native ChatbotSDK

Usage no npm install needed!

<script type="module">
  import reactNativeChatbotSdk from 'https://cdn.skypack.dev/react-native-chatbot-sdk';
</script>

README

react-native-chatbot-sdk

Install

$ npm install react-native-chatbot-sdk --save

Setup iOS

Copy RNChatbotSDK.m and RNChatbotSDK.swift from node_modules/react-native-chatbot-sdk/ios into your project. You will be prompted to create a bridging header. Accept and place the below into the header:

#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>

Add ChatbotSDK to your podfile, then run pod update.

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, "10.0"
use_frameworks!

target "ChatbotExample-swift" do
  pod "ChatbotSDK"
end