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
- Add the
robylon-release.aarlibrary to your app’slibsfolder andapp/build.gradle. The library and instructions are in therobylon-android-sdkrepository on GitHub (OneWorldNation). - Call
Robylon.initializewith your Chatbot ID in your Application class, optionally set the user ID and profile, and add theChatBotButtonview to your layout.
iOS
- Add the
robylon-ios-sdkSwift package (github.com/OneWorldNation/robylon-ios-sdk) to yourPackage.swift. - Create a
ChatbotConfigurationwith your Chatbot ID, optional user ID and profile, and callRobylonSDK.initializeChatbot.
React Native
-
Install the SDK:
npm install @robylon/react-native-sdk react-native-webview -
Add the
Chatbotcomponent where the chatbot should appear, with the same props as the React SDK, including the optional user ID and profile.
Flutter
-
Install the SDK:
flutter pub add robylon_flutter_sdk -
Add the
Chatbotwidget to the screen where the chatbot should appear, withapiKeyset to your Chatbot ID. A user ID and profile are optional.