1. How do I know if Android SDK integration is successful?

To check whether the integration is successful or not, you can monitor debug logs from WebEngage SDK in Android Studio.

To enable debug mode, enable logs from WebEngage SDK during initialization as shown below.

WebEngageConfig webEngageConfig = new WebEngageConfig.Builder()
WebEngage.engage(this.getApplicationContext(), webEngageConfig);

Now clean, build and launch your application, and set log level of Android Studio as Verbose with filter as WebEngage.

You should start seeing debug logs. If integration is successful, "WebEngage Successfully Initialized" will be logged. Else, "WebEngage Initialization Failed" will be logged along with error message.


Successful integration sample logs


Unsuccessful integration sample logs.

2. Why are Users/ Events not showing up in the dashboard even after successful SDK integration?

  1. Make sure that WebEngage SDK is successfully integrated.

  2. Make sure that you have entered the correct License Code while initializing the SDK from onCreate callback of your Application class.

  3. If there are any network issues (either from your device or from WebEngage servers) then "Event Logging failed, scheduling next sync" should be logged in your console. This indicates that events tracked in SDK are not being successfully reported to WebEngage servers. If your device has network access but you still do not see data being reflected on the dashboard, contact WebEngage support at [[email protected]](mailto: [email protected]).


If you are seeing "Events successfully Logged to server, scheduling next sync" in your logs, then the events are being successfully reported to WebEngage servers and should be reflected on your dashboard within 2-3 mins. If you do not see data being reflected on the dashboard within 5 minutes, contact WebEngage support.

3. How can I get FCM registration ID & messages from WebEngage SDK?

If FCM registration and messaging are handled by WebEngage SDK, you need to implement Lifecycle callbacks to receive FCM registration ID and messages.

4. Why am I unable to receive Push/ In-app Notification callbacks?

A few reasons include:

For WebEngage SDK version < 1.8 make sure that:

  1. You have annotated your callback implementation class(es) with WebEngageCallback.
  2. Your callback implementation class(es) resides inside your declared application package.

For WebEngage SDK version >= 1.8 and <= 1.9.7 make sure that:

  1. You are properly registering your callbacks to WebEngage SDK.
  2. Your app is holding a strong reference to your callback implementation.

*For WebEngage SDK version >= 1.9.8*, ensure that you are properly registering your callbacks to WebEngage SDK.

5. Why do I see the error, 'Android credentials could not be saved as the values entered are invalid,' in my dashboard?

You will see this error if the GCM/FCM key is found to be invalid.


To fix this:

  1. Check for any other typos that might have occurred while pasting your GCM key on the dashboard.
  2. Clear IP whitelist, if any, that might be associated with this Server Key from your Google API console.
  3. Create a new Server Key and use this on the dashboard.

6. How can I update the WebEngage Android SDK to the latest version?

From 2.x.x to 3.x.x

Google Cloud Messaging integration changes

Starting with version 3, WebEngage SDK uses a separate Push Receiver for handling messages from GCM. So, below changes are required only if the value of meta data tag is set to true in your AndroidManifest.xml.

Step 1: Remove WebEngageReceiver from AndroidManifest.xml.

    android:value="true" />       
        <!--<action android:name="" />-->
        <!--<action android:name="" />-->
        <!--<category android:name="YOUR.PACKAGE.NAME" />-->

Step 2: Add WebEngagePushReceiver in your AndroidManifest file under application tag.

        <action android:name="" />
        <category android:name="${applicationId}" />

From 1.x.x to 2.x.x

Step 1: Default value of meta-data has been changed from true to false. If above meta-data is not present in your AndroidManifest.xml file then insert the same by following our Push Notification set-up guide.

Step 2: WebEngage.get().setRegistrationID(String registrationID, String projectNumber) has been deprecated. Use WebEngage.get().setRegistrationID(String registrationID). setRegistrationID now only accepts GCM/FCM registered token.

From (SDK version <= 1.7) to (SDK version >= 1.8)

Step 1: Remove WebEngageCallback annotation from all your callback implementations.

Step 2: Manually register your push, in-app and lifecycle callback implementations to WebEngage.

  1. Remove below lines from your ProGuard file.
-keep class * implements{*;}
-keep class * implements{*;}
-keep class * implements{*;}

We hope this has helped you integrate your Android app with WebEngage. Please feel free to drop in a few lines at [email protected] in case you have any further queries. We're always just an email away!