DOWNLOAD CHATBOT SDK FROM HERE:Copy to clipboardYour Project -> general -> framework libraries and embedded content -> add other
ADD CHATBOTFRAMEWORK TO YOUR PROJECT FROM.Copy to clipboardpod ‘Firebase/Firestore’ pod ‘Firebase/Auth’ pod ‘Firebase/Messaging’ pod ‘Firebase/Storage’ pod ‘ADCountryPicker’ pod ‘PaddingLabel’ pod ‘TwilioVoice’ pod ‘AMDots’ pod ‘DropDown’ pod ‘Cosmos’ pod ‘SwiftJWT’ pod ‘RichString’ pod ‘SVGKit’ pod ‘IQKeyboardManagerSwift’
ADD THE BELOW CODE TO YOUR PROJECT.Copy to clipboardlet frameWorkBundle = {FRAMEWORKBUNDLE} let storyBoard = UIStoryboard(name: “Main”, bundle: frameWorkBundle) let mainViewController = storyBoard.instantiateViewController(withIdentifier: “ChatViewController”) as? ChatViewController mainViewController?.manifestComapnyID = {COMPANY_ID} mainViewController?.manifestChatbotId = {BOTID} mainViewController?.manifestAgentId = {AGENTID} mainViewController?.modalPresentationStyle = .fullScreen self.present(mainViewController!, animated: true, completion: nil)
ADD Chatbot FRAMEWORK TO YOUR PROJECT FROM.Copy to clipboarddependencies { //============= lifeCycle annotation processor dependency for java 8 ========= implementation “androidx.lifecycle:lifecycle-common-java8:$lifecycle_version” //=============nsions of viewModel, liveData etc ======= implementation “androidx.lifecycle:lifecycle-extensions:$lifecycle_version” //============= used in User authentication by fireBase ====================== //api “com.google.firebase:firebase-auth:$firebase_auth” //============= used to upload and share contents like images,videos and file on fireBase cloud storage ========= implementation“com.google.firebase:firebase-core:$firebase_core” api “com.android.volley:volley:$volley_version” implementation “com.google.android.material:material:$google_material” implementation “androidx.appcompat:appcompat:$androidx_appcompat” implementation “androidx.core:core-ktx:$androidx_ktx” api “androidx.activity:activity-ktx:$activity_ktx” api “androidx.fragment:fragment-ktx:$fragment_ktx” implementation “org.jetbrains.kotlin:kotlin-reflect:$kotlin_version” // Dimens api “com.intuit.sdp:sdp-android:$sdp_android” api “com.intuit.ssp:ssp-android:$sdp_android” api “androidx.constraintlayout:constraintlayout:$androidx_constraintlayout” // glide implementation “com.github.bumptech.glide:glide:$glide” implementation “com.google.firebase:firebase-storage-ktx:$firebase_storage” kapt “com.github.bumptech.glide:compiler:$glide_compiler” // No need to change //=================== used for static visual elements ============ implementation “com.caverock:androidsvg-aar:$caverock_svg” //============= Used to show colors =============== implementation “com.github.matthewyork:ColoursLibrary:$coloursLibrary” api “com.google.firebase:firebase-firestore:$firebase_firestore” implementation “com.google.firebase:firebase-auth-ktx:$firebase_auth_ktx” //implementation(“com.android.support:support-annotations:$support_annotations”) //================ Used in fileUtils in ChatBotActivity ========================= implementation “commons-io:commons-io:$commons_io” } apply plugin: ‘com.google.gms.google-services’
FOLLOWING DEPENDENCIES INSIDE ‘BUILDSCRIPT’ PROJECT BUILD.GRADLE FILE:Copy to clipboard//=========== It should be above plugins for latest android studio ================= buildscript { repositories { mavenCentral() } dependencies { classpath“com.google.gms:google-services:4.3.2” } } ext.kotlin_version = “1.4.32” ext { google_services = ‘4.3.2’ androidx_ktx = ‘1.3.2’ androidx_appcompat = ‘1.2.0’ google_material = “‘1.3.0’ androidx_constraintlayout = ‘2.0.4’ androidx_liveData = ‘2.3.0’ androidx_viewModel = ‘2.3.0’ junit = ‘4.12’ androidx_espresso = ‘3.3.0’ firebase_core = ’19.0.1’ lifecycle_version = ‘2.2.0’ firebase_core = ’17.2.1’ volley_version = ‘1.2.1’ activity_ktx = ‘1.2.3’ fragment_ktx = ‘1.3.5’ sdp_android = ‘1.0.6’ glide = ‘4.12.0’ glide_compiler = ‘4.12.0’ caverock_svg = ‘1.4’ coloursLibrary = ‘1.0.+@aar’ firebase_firestore = ’23.0.3’ firebase_auth_ktx = ’21.0.1’ //support_annotations =’28.0.0’ commons_io = ‘2.7’ firebase_auth = ’21.0.1’ firebase_storage = ’20.0.1’ }
FOLLOWING DEPENDENCIES INSIDE ‘BUILDSCRIPT’ PROJECT BUILD.GRADLE FILE:Copy to clipboardtools:replace= “android:allowBackup,android:icon”
ADD THE BELOW CODE FROM WHERE YOU WANT TO OPEN CHATBOTCopy to clipboardChatBotActivity.initialize( newUserId, newAgentId, newBotId, chatbotSupportUrl?:"", botType?:"" ) val intent = Intent(this, ChatBotActivity::class.java) startActivity(intent)
Integrate chatbots into your apps without any coding.
Integrating a chatbot with your mobile has never been so easy. All you need is to use our code-free chatbot builder and add the chatbot to your mobile application. This chatbot will work as a virtual assistant for your customers. It will help your app visitors to find the answers to their queries, solve issues, and even provide support when needed.
Appy Pie Chatbot SDK integrations allow you to add chatbot functionality to your existing applications without having to build a chatbot from scratch. This can save you time and resources, and allow you to focus on other areas of your business. Appy Pie Chatbot SDK integrations also make it easy to connect your chatbot to multiple applications and platforms.
Appy Pie Chatbot SDK integrations increase sales performance by automating the tasks of customer service representatives in an effective way. Appy Pie Chatbot SDK also allows you to connect with your customers and prospects on multiple channels. The Appy Pie Chatbot SDK allows you to create powerful chatbots that meet the needs of your business.
Integrate chatbots directly into your apps and take your customer support to the next level. Appy Pie Chatbot provides Android SDK, and iOS SDK that allow you to integrate chatbots in your Android and iOS apps in just a few clicks, and all without writing a single line of code.
Appy Pie Chatbot SDK Integrations are also very affordable, which means that you won’t have to spend a lot of money to get started with them. Appy Pie Chatbot SDK Integrations come with a wide range of features that you can use to customize your chatbot according to your specific needs.
Appy Pie Chatbot SDK Integration provides analytics and reporting tools to track bot performance such as user engagement, conversion, and retention. You can also track user demographics such as age, gender, location, and interests to better understand your user base. All this data is valuable in understanding how your chatbot is performing and what areas need improvement.
With SDKs, you can have greater reach and more opportunities to target your audience on multiple channels. The best marketing teams use multiple channels to reach their audience. Integrating chatbots with your favorite service platforms, you can deliver personalized messages across multiple channels and convince a larger number of people to take action.
SDKs also make it easier to manage your user data. With SDKs, you can segment your users and target them with specific messages. You can also track how they interact with your app and what features they use the most. This information can help you improve your app and make it more user-friendly.
Sign up for a 21-day free trial. No credit card required. No strings attached
Get Started