IMPORTANT!
Add the “android:name” property to the tag:
<application
android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:name="com.clevertap.android.sdk.Application">
Note: If you’ve already got a custom Application class, call ActivityLifecycleCallback.register(this); before super.onCreate() in your custom Application class.
Note: The above step is extremely important and enables CleverTap to track notification opens, display in-app notifications, track deep links, and other important user behaviour.
Implementing this should fix your issue.
Thanks,
Support
@Override
public void onCreate() {
ActivityLifecycleCallback.register(this);
super.onCreate();
}
}
<application
android:name=".App"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/MyMaterialTheme">
[ OK ] Activity lifecycle registered
[ 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)
[ OK ] GCM related permissions
[ OK ] GCM project number
[ OK ] Additional GCM related meta data
[ OK ] Built-in push support
[ OK ] In-app notification activity
[ OK ] Activities to exclude when displaying an in-app notification
CleverTap integration looks good! Cheers :)
In case of the first [FAIL], it shouldn't be a concern since I've made a custom Application class.
The click count is still not reflecting.
[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] GCM related permissions
Add the required GCM permissions to your AndroidManifest.xml
[ OK ] GCM project number
[ OK ] Additional GCM related meta data
[WARN] Built-in push support
Some push notfication support elements are missing: see warnings/errors above
com.clevertap.android.sdk.Application
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();}
How to specify the path to that class while runnint the validator.??? what is that?
Still it get fails..