You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also stated my workaround when migrating using AndroidX here Migrate to androidx #38 by manually jetified the clevertap-3.7.2.aar and add the .aar to the our codebase locally with flatDirs
I don't wanna silence my linter error as warning (this is not a fix) because I need InAppNotificationActivity to function correctly
[suggested]
An open function to extends the InAppNotificationActivity so we can use correct androidx imports & place it in our AndroidManifest.xml
or any workaround/alternative currently to solve this issue?
P.S: But if the milestone for androidx migration still far away, maybe I just have to add locally the clevertap then T_T
The text was updated successfully, but these errors were encountered:
mochadwi
changed the title
FcmTokenListenerService & InAppNotificationActivity in AndroidManifest.xml shows linter error when migrated to AndroidX
FcmTokenListenerService & InAppNotificationActivity in AndroidManifest.xml shows linter error when migrated to AndroidX
Apr 26, 2020
The InAppNotificationActivity is now a part of the CleverTap SDK's AndroidManifest.xml and you don't need to add it in your AndroidManifest.xml file. That should solve the lint issue.
Now that's great, so it is safe to remove the InAppNotification activity? Did you guys already mentioned this feature in official docs somewhere (the others might not found it too)
I assume, because AppsFlyer SDK manifest will be merged to our apps manifest (that is safe to remove InAppNotification activity from apps manifest) @darshanclevertap
Yes, @mochadwi CleverTap's manifest gets merged with your app's manifest file at compile time. So you don't need to add it in your manifest separately. I'll check our official documentation as well, and update it if its not. Thanks!
My setup:
please mention me if you need more setup configuration or provide more error/output logs
Linter error:
Registered class is not instantiatable correctly
My Approach:
FcmTokenListenerService
as stated in this docsAndroidX
here Migrate to androidx #38 by manuallyjetified
theclevertap-3.7.2.aar
and add the .aar to the our codebase locally withflatDirs
flatDirs
approach, but I've recently remove it and usingjetifier
default approach, seems doesn't works: Feature Request: Migrate to androidx facebook/facebook-android-sdk#591 (comment)InAppNotificationActivity
to function correctly[suggested]
An open function to extends the
InAppNotificationActivity
so we can use correct androidx imports & place it in ourAndroidManifest.xml
or any workaround/alternative currently to solve this issue?
P.S: But if the milestone for androidx migration still far away, maybe I just have to add locally the clevertap then T_T
The text was updated successfully, but these errors were encountered: