Chat APIs and In-app Messaging SDKs for Developers

Applozic provides Chat APIs and In-app Messaging SDKs for Android, iOS and Web apps to power cross-device, multi-platform rich messaging.
Find comprehensive guides and platform-specific Chat API documentation to get started with In-app Messaging.

Get Started    
Ask A Question

Questions

1

Error: Program type already present: com.google.android.material.internal.package-info

Hi Team, I got that error : Program type already present: com.google.android.material.internal.package-info Message{kind=ERROR, text=Program type already present: com.google.android.material.internal.package-info, sources=[Unknown source file], tool name=Optional.of(D8)} Please help me. Thanks. My build.gradle (App) import java.text.DateFormat import java.text.SimpleDateFormat apply plugin: 'com.android.application' apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin' String APK_NAME = "WorkIT_ANDROID" int VERSION_CODE = 3 String VERSION_NAME = "ver 0.0.1" String DATE = getCurrentDate() static def getCurrentDate() { DateFormat df = new SimpleDateFormat("yyyyMMdd") return df.format(new Date()) } project.archivesBaseName = APK_NAME + "_" + VERSION_NAME + "_" + DATE android { compileSdkVersion 28 buildToolsVersion '27.0.3' defaultConfig { applicationId "vn.workit.erp" minSdkVersion 19 targetSdkVersion 28 versionCode VERSION_CODE versionName VERSION_NAME manifestPlaceholders = [ onesignal_app_id: 'b2c10819-6559-42f3-9aa1-7e8baf04703c', // Project number pulled from dashboard, local value is ignored. onesignal_google_project_number: 'REMOTE' ] } packagingOptions{ doNotStrip '*/mips/*.so' doNotStrip '*/mips64/*.so' exclude 'META-INF/DEPENDENCIES' 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' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } useLibrary 'org.apache.http.legacy' compileOptions { targetCompatibility 1.8 sourceCompatibility 1.8 } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:28.0.0' implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.android.support:support-v4:28.0.0' implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1' implementation 'com.android.support:cardview-v7:28.0.0' implementation 'com.github.mirrajabi:search-dialog:1.2' /// barcode implementation 'me.dm7.barcodescanner:zbar:1.9.8' /// retrofit implementation 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.google.code.gson:gson:2.8.2' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' //butterknife implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' implementation 'com.github.hidroh:numeric-edittext:0.1.0' ///recyclerview implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'me.zhanghai.android.materialratingbar:library:1.2.0' // implementation 'com.karumi:dexter:5.0.0' implementation 'com.github.tosslife:pullloadview:1.1.0' implementation 'com.onesignal:OneSignal:[3.9.1, 3.99.99]' ////eventbus///// api 'com.applozic.communication.uiwidget:mobicomkitui:5.74' implementation 'de.hdodenhof:circleimageview:2.2.0' //for circular images implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'//for image cropping implementation 'com.github.bumptech.glide:glide:4.9.0' //for loading images implementation 'com.google.android.material:material:1.0.0' //// implementation 'androidx.constraintlayout:constraintlayout:1.1.3'//constraint layout api 'com.google.code.gson:gson:2.8.5' //JSON parsing library api 'com.google.firebase:firebase-messaging:18.0.0'//for FCM notification api 'com.google.android.gms:play-services-maps:16.0.0'//for google maps api 'com.google.android.gms:play-services-location:16.0.0'//for location services // compile 'org.greenrobot:eventbus:3.1.1' }

Posted by huy 3 months ago

8

set up Android SDK Error.

Hi Team, I got some error while seting up Android SDK, please help. Manifest merger failed : Attribute [email protected] value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.0.1] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:14:5-183:19 to override. My dependencies : dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:28.0.0' implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.android.support:support-v4:28.0.0' implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1' implementation 'com.android.support:cardview-v7:28.0.0' implementation 'com.github.mirrajabi:search-dialog:1.2' /// barcode implementation 'me.dm7.barcodescanner:zbar:1.9.8' /// retrofit implementation 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.google.code.gson:gson:2.8.5' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' //butterknife implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' implementation 'com.github.hidroh:numeric-edittext:0.1.0' ///recyclerview implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'me.zhanghai.android.materialratingbar:library:1.2.0' // implementation 'com.karumi:dexter:5.0.0' implementation 'com.github.tosslife:pullloadview:1.1.0' // onesignal - Notification implementation 'com.onesignal:OneSignal:[3.9.1, 3.99.99]' // // applozic - Chat implementation 'com.applozic.communication.uiwidget:mobicomkitui:5.74' // api 'com.applozic.communication.uiwidget:mobicomkitui:5.74' // implementation 'de.hdodenhof:circleimageview:2.2.0' //for circular images // implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'//for image cropping // implementation 'com.github.bumptech.glide:glide:4.9.0' //for loading images // implementation 'com.google.android.material:material:1.0.0' // implementation 'androidx.constraintlayout:constraintlayout:1.1.3'//constraint layout // api 'com.google.code.gson:gson:2.8.5' //JSON parsing library // api 'com.google.firebase:firebase-messaging:18.0.0'//for FCM notification // api 'com.google.android.gms:play-services-maps:16.0.0'//for google maps // api 'com.google.android.gms:play-services-location:16.0.0'//for location services // compile 'org.greenrobot:eventbus:3.1.1' }

Posted by Huy 3 months ago