Chat APIs and In-app Messaging SDKs for Developers, by Developers

Applozic powers multi-platform Chat APIs and in-app Messaging SDKs for Android, iOS and the Web that will enable you to build advanced in-app chat solutions your users will love.

Integrate chat in your application with completely customizable UI kits, powerful messaging APIs and SDKs, developed with exceptional security measures in mind.

Documentation    API Explorer

Questions

Ask A Question
1
ANSWERED

Bug on react native android sdk com.google.android.material.tabs.TabLayout

I'm using Applozic SDK on the fresh nativescript 0.59.10 project. The conversation list screen opens perfectly but when I try to start a new conversation using plus button it throws the following error. E/AndroidRuntime: FATAL EXCEPTION: main Process: com.freightsapp, PID: 13297 java.lang.NoSuchMethodError: No virtual method addOnTabSelectedListener(Lcom/google/android/material/tabs/TabLayout$OnTabSelectedListener;)V in class Lcom/google/android/material/tabs/TabLayout; or its super classes (declaration of 'com.google.android.material.tabs.TabLayout' appears in /data/app/com.freightsapp-RXFAuNx3BghtZYx3ytktDA==/split_lib_dependencies_apk.apk) at com.applozic.mobicomkit.uiwidgets.people.activity.MobiComKitPeopleActivity.onCreate(MobiComKitPeopleActivity.java:167) at android.app.Activity.performCreate(Activity.java:7136) at android.app.Activity.performCreate(Activity.java:7127) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Posted by Aris Karagiannis 2 years ago

8
ANSWERED

Dependency Conflict

I have conflict in dependencies, Can any one help me apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' android { compileSdkVersion 28 defaultConfig { applicationId "com.line.naqlthaqeel" minSdkVersion 17 targetSdkVersion 28 versionCode 13 versionName "1.13" multiDexEnabled true // renderscriptTargetApi 21 renderscriptSupportModeEnabled true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { debuggable false minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/ECLIPSE_.SF' exclude 'META-INF/ECLIPSE_.RSA' } dexOptions { preDexLibraries = false javaMaxHeapSize "4g" } } allprojects { repositories { maven { url "https://jitpack.io" } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.github.alexfu:CountDownView:0.1.0' implementation 'com.google.android.gms:play-services-maps:15.0.1' implementation 'com.android.support:design:28.0.0' implementation 'com.android.support:cardview-v7:28.0.0' implementation 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.1' implementation 'com.github.Kennyc1012:BottomSheet:2.3.4' implementation 'com.github.iwgang:countdownview:2.1.6' implementation 'com.ms.square:glassview:0.1.0' implementation "com.googlecode.mp4parser:isoparser:1.0.2" implementation "com.github.lassana:continuous-audiorecorder:1.3.2" implementation 'com.mcxiaoke.volley:library:[email protected]' implementation 'com.github.citux:datetimepicker:0.2.0' implementation 'io.nlopez.smartlocation:rx:3.3.3' implementation 'com.wang.avi:library:2.1.3' implementation 'com.devlomi.record-view:record-view:1.2.2beta' implementation 'com.github.safetysystemtechnology:audio-recorder-button:v1.3' implementation 'com.github.adrielcafe:AndroidAudioRecorder:0.3.0' implementation 'com.android.support:multidex:1.0.3' implementation "com.google.android.gms:play-services-places:15.0.1" implementation 'com.kaopiz:kprogresshud:1.1.0' implementation 'com.valdesekamdem.library:md-toast:0.9.0' implementation 'com.loopj.android:android-async-http:1.4.9' implementation 'com.squareup.picasso:picasso:2.5.2' implementation "com.orhanobut:hawk:2.0.1" implementation 'com.google.firebase:firebase-core:11.4.2' implementation 'com.google.firebase:firebase-messaging:17.0.0'//12.0.1 implementation 'com.google.firebase:firebase-storage:17.0.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.5.1'//image picker implementation 'com.google.android.gms:play-services-places:15.0.1' implementation 'com.google.android.gms:play-services-location:15.0.1' implementation 'com.google.maps.android:android-maps-utils:0.4+' implementation 'com.applozic.communication.uiwidget:mobicomkitui:5.34' // implementation 'com.applozic.communication.uiwidget:mobicomkitui:5.34' /* implementation ('com.applozic.communication.uiwidget:mobicomkitui:5.9.1'){ exclude group: 'com.github.bumptech.glide' }*/ // compile project(path: ':MapsUtils') implementation 'com.firebase:geofire-android:2.3.1' implementation 'com.ss.bannerslider:bannerslider:2.0.0' implementation 'com.github.stfalcon:frescoimageviewer:0.5.0' implementation 'com.facebook.fresco:fresco:1.9.0' implementation 'com.github.therealshabi:AutoImageFlipper:v1.4.1' implementation 'com.google.firebase:firebase-database:17.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.google.firebase' && requested.name == 'firebase-messaging') { details.useVersion '17.1.0' //use a common firebase version here } if (requested.group == 'com.google.android.gms' && (requested.name == 'play-services-maps' || requested.name == 'play-services-location')) { details.useVersion '15.0.1' //use a common gms version here } if (requested.group == 'com.android.support' ) { details.useVersion '27.1.1' //use a common support libraries version here } } } }

Posted by Alaa 2 years ago