Skip to content
Guides

Chatbot

Mobile apps

Add the Robylon chatbot to an Android, iOS, React Native or Flutter app with Robylon's mobile SDKs.

Robylon’s mobile SDKs put the chatbot inside your own app. For websites, see Install the chatbot.

Which mobile platforms are supported?

Android, iOS, React Native and Flutter. On your chatbot’s Install tab, choose Mobile, then pick Android, iOS, React Native or Flutter. The tab shows the setup code for each, with your Chatbot ID already filled in.

How do I add the chatbot to my app?

Open the section for your platform and follow its two steps.

Android
  1. Add the robylon-release.aar library to your app’s libs folder and app/build.gradle. The library and instructions are in the robylon-android-sdk repository on GitHub (OneWorldNation).
  2. Call Robylon.initialize with your Chatbot ID in your Application class, optionally set the user ID and profile, and add the ChatBotButton view to your layout.
iOS
  1. Add the robylon-ios-sdk Swift package (github.com/OneWorldNation/robylon-ios-sdk) to your Package.swift.
  2. Create a ChatbotConfiguration with your Chatbot ID, optional user ID and profile, and call RobylonSDK.initializeChatbot.
React Native
  1. Install the SDK:

    npm install @robylon/react-native-sdk react-native-webview
  2. Add the Chatbot component where the chatbot should appear, with the same props as the React SDK, including the optional user ID and profile.

Flutter
  1. Install the SDK:

    flutter pub add robylon_flutter_sdk
  2. Add the Chatbot widget to the screen where the chatbot should appear, with apiKey set to your Chatbot ID. A user ID and profile are optional.