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.
Hi, It is a new phonegap project, and with no function. I just install applozic by cordova and add android platform. But facing "aapt.exe'' finished with non-zero " issue at android studio. I did not face the issue before with all old project, any idea? thanks
Posted by James 2 years ago
May i know how to tint the icon color on toolbar for android? I'm unable to tint it by colorAccent. it still display as white color. <style name="ApplozicTheme" parent="Theme.AppCompat.Light.NoActionBar"> <!--<!–To change the toolbar color change the colorPrimary –>--> <item name="colorPrimary">@color/colorPrimary</item> <!--<!– To change the status bar color change the color of colorPrimaryDark –>--> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <!--<!– colorAccent is used as the default value for colorControlActivated which is used to tint widgets –>--> <item name="colorAccent">@android:color/black</item> </style>
Posted by Goh Chiong Chien 2 years ago
Hi, I try to use Applozic Framework in nativeScript Application but when I add the plugin. I cannot deploy my app and i get this error. Can you help me ? Failed to build plugin nativescript-applozic-chat : Error: Command gradlew.bat failed with exit code 1 Error output: C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0fada22f7b54b53e28ddb56c250376b3\res\values-v26\values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found. C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0fada22f7b54b53e28ddb56c250376b3\res\values-v26\values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found. C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\45c15dc357b97519536239d227c24459\res\values-v26\values-v26.xml:3:5-6:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found. C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0fada22f7b54b53e28ddb56c250376b3\res\values-v26\values-v26.xml:17:5-93: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found. C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0fada22f7b54b53e28ddb56c250376b3\res\values\values.xml:251:5-69: AAPT: error: resource android:attr/keyboardNavigationCluster not found. C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0fada22f7b54b53e28ddb56c250376b3\res\values\values.xml:251:5-69: AAPT: error: resource android:attr/fontStyle not found. C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0fada22f7b54b53e28ddb56c250376b3\res\values\values.xml:251:5-69: AAPT: error: resource android:attr/font not found. C:\Users\gvialon\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0fada22f7b54b53e28ddb56c250376b3\res\values\values.xml:251:5-69: AAPT: error: resource android:attr/fontWeight not found. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':verifyReleaseResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 4m 16s
Posted by Gaetan Vialon 2 years ago
Most of the time, this issue occurs when trying to show a dialogue after exiting the Activity. If you do encounter this issue, then open your Activity and make sure you’re dismissing the dialogue, by calling dismiss() in either your Activity’s onDestroy() or onPause() method, for example: @Override protected void onDestroy() { super.onDestroy(); if(pDialogue!= null){ pDialogue.dismiss(); } }
Posted by Mihir 3 years ago
Dear Support, I have been following all the instructions for react native integration, but when i try to build, i always get following error : 111 actionable tasks: 2 executed, 109 up-to-date D:\MobileApps\xelpix\android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:22: error: cannot find symbol import com.reactlibrary.ApplozicChatPackage; ^ symbol: class ApplozicChatPackage location: package com.reactlibrary D:\MobileApps\xelpix\android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:84: error: cannot find symbol new ApplozicChatPackage(), ^ already been googled for a while and can't find any solution, please kindly help. Regards, Vidy Hermes
Posted by vidy hermes about a year ago
Installed the Applozic pod latest 4.4.0 version using CocoaPods 1.2.0. Received a few errors trying to build: "'sharedApplication' has been explicitly marked unavailable here". Also got the same error for 'UIAlertView'. Believe this is related to https://miqu.me/blog/2016/11/28/app-extensions-xcode-and-cocoapods-omg/. Is there any quick fix I can do on my end?
Posted by Asri 3 years ago
One possible solution for this is: In Xcode 8 or above updating the Build Setting `Always Embed Swift Standard Libraries` to `Yes` should solve this issue. From Apple docs. "If you are building an app that does not use Swift but embeds content such as a framework that does, Xcode will not include these libraries in your app. [Reference](https://developer.apple.com/library/content/qa/qa1881/_index.html)
Posted by Mihir 3 years ago
Is there any way to use react-native-firebase cloud messaging feature with applozic with in pure react components. Example as follow, https://rnfirebase.io/docs/v4.3.x/messaging/device-token
Posted by sirajuddin 2 years ago
Step to reproduced: 1. Login one user 2. By using different device, Login another user 3. Send Message and able to receive message 4. Disconnect the internet for one of the device. 5. Send message to the account that disconnected with the internet. 6. Connect to the internet again -> observed that unable to receive push notification when connecting to the internet again
Posted by Goh Chiong Chien 2 years ago
Our app is rejected continues multiple time due to below reason. Read through the User Data policy and make the necessary changes to your app. Your app is uploading users' Contact information to https://apps.applozic.com without a prominent disclosure. Prior to the collection and transmission, it must prominently highlight how the user data will be used, describe the type of data being collected and have the user provide affirmative consent for such use. I am not able to find the documentation for this issue.
Posted by Hitesh Patel about a year ago
E/AndroidRuntime: FATAL EXCEPTION: main Process: tech.noticeboard, PID: 12257 java.lang.SecurityException: Binder invocation to an incorrect interface at android.os.Parcel.nativeEnforceInterface(Native Method) at android.os.Parcel.enforceInterface(Parcel.java:482) at android.app.job.IJobService$Stub.onTransact(IJobService.java:53) at android.os.Binder.transact(Binder.java:499) at com.firebase.jobdispatcher.IRemoteJobService$Stub$Proxy.start(IRemoteJobService.java:106) at com.firebase.jobdispatcher.JobServiceConnection.onServiceConnected(JobServiceConnection.java:71) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1465) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1482) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6123) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757) **** enforceInterface() expected 'android.app.job.IJobService' but read 'com.firebase.jobdispatcher.IRemoteJobService'
Posted by Priyansh 3 years ago
Hi I have followed the instruction for the video and audio calling in this section of the document https://docs.applozic.com/docs/web-javascript-video-chat-and-audio-call-plugin and added the required dependency files. When I click on the video call option in the sidebox, nothing happens. Also I can't see any button or link in fullview for the video call. No error has been generated in the console too. Did I missed some configurations?
Posted by Mark Arjohn San Antonio 3 years ago
Hello team, i want integrate Applozic sdk for chat implementation but I confusion regarding UI. can i use my own custom UI for Recent chat history list and Chat Screen view instead of ALChatLauncher and without UI Customization settings? i need to go simply separate apis for recent chat history list and individual chat list of user/channel. so that, i can parse and display using my own custom objects. is that possible? if yes, can you please provide me that apis. thanks
Posted by Mahipal 3 years ago
Hello, I contact you because I use Applozic for my website with Javascript SDK and it's working perfectly. I now developped the iOS and Android mobile apps and I would like to use your ADK for the chat. For Android, when I'm trying to use this function : applozic.launchChat(function() {}, function() {}); , the app is crashing and for iOS, I'm not able to upload the app on iTunes due this this error message : iTunes Store Operation Failed description length:6426193 iTunes Store Operation Failed ERROR ITMS-90087: "Unsupported Architectures. The executable for Make A Match.app/Frameworks/Applozic.framework contains unsupported architectures '[x86_64, i386]'." iTunes Store Operation Failed ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'Make A Match.app/Frameworks/Applozic.framework/libswiftRemoteMirror.dylib' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure." iTunes Store Operation Failed ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Make A Match.app/Frameworks/Applozic.framework/Applozic' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version." iTunes Store Operation Failed ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker." iTunes Store Operation Failed ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Make A Match.app/Frameworks/Applozic.framework' contains disallowed file 'Frameworks'." iTunes Store Operation Failed WARNING ITMS-90080: "The executable 'Payload/Make A Match.app/Frameworks/Applozic.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library." Do you have any idea about my issue? Thank you in advance for your kind support. With best regards, Jerome
Posted by Jerome Mansbendel 3 years ago
I am using Applozic chat web plugin: https://github.com/AppLozic/Applozic-Web-Plugin Messages are not getting updated and getting the following error in console: Failed to load https://apps.applozic.com:15675/stomp/info?t=1518784646041: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'null' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute. Do I need to pass any headers?
Posted by Deepankar 3 years ago
in the AndroidManifest.xml when i add this provider: <provider android:name="android.support.v4.content.FileProvider" android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/applozic_provider_paths"/> </provider> I got this error: Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple errors, see logs Android App using Gradle
Posted by immaf 3 years ago
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 about a year ago