ANSWERED

Process 'command 'D:\android-studio-sdk\build-tools\27.0.3\aapt.exe'' finished with non-zero exit value 1

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
ANSWERED

How to tint the icon color on toolbar for android?

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"> <!--&lt;!&ndash;To change the toolbar color change the colorPrimary &ndash;&gt;--> <item name="colorPrimary">@color/colorPrimary</item> <!--&lt;!&ndash; To change the status bar color change the color of colorPrimaryDark &ndash;&gt;--> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <!--&lt;!&ndash; colorAccent is used as the default value for colorControlActivated which is used to tint widgets &ndash;&gt;--> <item name="colorAccent">@android:color/black</item> </style>
ANSWERED

NativeScript : Error: Command gradlew.bat failed with exit code 1

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
ANSWERED

Failed integration with react native

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
ANSWERED

Activity Has Leaked Window That Was Originally Added Here

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();   }      }
ANSWERED

'sharedApplication' has been explicitly marked unavailable here

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?

Contact privacy rejection in android

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.
ANSWERED

dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib

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)
ANSWERED

Unable to receive push notification when connect to the internet again

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
ANSWERED

react-native-firebase cloud messaging in react components.

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