Problem in setting up Lifecycle Callback

57 views
Skip to first unread message

ni...@raincan.com

unread,
May 20, 2016, 2:36:52 AM5/20/16
to CleverTap Support
Showing output of testing integration as follows:

[FAIL] Activity lifecycle registered
Add android:name='com.clevertap.android.sdk.Application' to the application tag in your AndroidManifest.xml
[ OK ] Required permission - READ_PHONE_STATE
[ OK ] Required permission - INTERNET
[ OK ] Optional, but recommended permission: ACCESS_NETWORK_STATE
[ OK ] Optional, but recommended permission: GET_ACCOUNTS
[ OK ] Optional, but recommended permission: ACCESS_COARSE_LOCATION
[ OK ] Optional, but recommended permission: WRITE_EXTERNAL_STORAGE
[ OK ] Account credentials
[ OK ] Install receiver (for tracking app installs)
[WARN] Built-in GCM handler
Add the com.clevertap.android.sdk.GcmBroadcastReceiver to your AndroidManifest.xml
[ OK ] In-app notification activity
[ OK ] Activities to exclude when displaying an in-app notification

CleverTap integration doesn't look so good :(




I have added manifiest file as:
android:name=".App"
android:allowBackup="true"
android:icon="@mipmap/ic_app_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:largeHeap="true"



And In App


@Override
public void onCreate() {
ActivityLifecycleCallback.register(this);
super.onCreate();
}


Still it get fails..
Please Reply.

CleverTap Support

unread,
May 25, 2016, 8:55:53 AM5/25/16
to CleverTap Support
Hi Nisha,

Looks like you're using a custom application class. Please specify the path to this class while running the validator. 

Instructions here will help.

- Support.
Reply all
Reply to author
Forward
0 new messages