Comments (11)
@calvarez-ov If you had pointed this out to us before we could have released for the 1.0 dependency. Since we have already released for v1.1, let me discuss this internally if releasing another CT SDK version is feasible for us.
from clevertap-android-sdk.
@rishabh876 You can use v1.1.2, it should not cause a conflict with the CleverTap Android SDK dependency of v1.0
from clevertap-android-sdk.
Actually, we also have the crash with installreferrer 1.1, it appears
from clevertap-android-sdk.
@calvarez-ov I went through the Google Issue and that is very lazy of them to do so. We use the dependency as compileOnly
. We have internally tested with 1.1 as a gradle dependency in our app and it works. Could you clear gradle caches and rebuild and check? getGooglePlayInstantParam
is a public API and it would be weird for it not to be there.
Also, we do have the old way of install referrer via broadcast receiver still working as of now, you can use that as of now till Google comes up with a 1.2 version.
from clevertap-android-sdk.
Could you please make CleverTap compatible with install referrer 1.0? Is this new api getGooglePlayInstantParam
really necessary? Can using it wait until google fixes the install referrer library?
It's really important to have repeatable builds. And I'm not sure google will fix the library before the broadcast receiver mechanism stops working in March.
from clevertap-android-sdk.
Actually, we also have the crash with installreferrer 1.1, it appears
Could you clear gradle caches and rebuild and check?
Here's an update after testing again with different caches, doing clean builds with --no-daemon --no-build-cache
to make sure we're not having anything stale when building:
- ❌ installreferrer 1.0: crash due to missing
getGooglePlayInstantParam()
(this github issue) - ❌ Installreferrer 1.1, the original one (it's cached by a nexus mirror we have):
java.lang.ClassNotFoundException: Didn't find class "com.google.android.aidl.BaseStub" on path
(this is the issue opened with google) - ✔️ installreferrer 1.1, the current one: no crash
So indeed, if you were fortunate enough to not have pulled in installreferrer 1.1 when it was still buggy, it works.
If we wanted to make sure this would work for us, we'd have to make sure each developer clears their gradle cache, and also make sure our nexus mirror loses this old 1.1 version, and clear any other caches in our CI.
This is particularly problematic because if we have the old version of 1.1, we don't see any build errors. It only crashes at runtime. So it makes validating our builds a challenge.
I think it would be best to avoid using this 1.1 version, as other developers of other apps may be running into this as well (I know some who have also rolled back to 1.0 for this reason).
Many thanks for your consideration!
from clevertap-android-sdk.
Update: To not be blocked, we will try to clear all our caches and use the new 1.1 which doesn't crash. But it may be useful still for other CleverTap customers to support 1.0.
from clevertap-android-sdk.
Actually, we just discovered a new issue with the install referrer library 1.1 (and 1.1.1 which was published today).
This library adds additional permissions to the app using it:
WRITE_EXTERNAL_STORAGE
READ_EXTERNAL_STORAGE
READ_PHONE_STATE
More info here: https://issuetracker.google.com/issues/146115244
from clevertap-android-sdk.
@calvarez-ov Sorry for the delay but we really do not have the bandwidth to downgrade to 1.0 for now. We will stay at 1.1 and keep an eye on the 1.1.1 issue and if Google fixes this before March, I will update it to the next lib version.
from clevertap-android-sdk.
@calvarez-ov We decided to revert to v1.0. Please checkout the latest release v3.6.4. Thanks!
from clevertap-android-sdk.
Google installreferrer 1.1.2 is now out with the fix for unnecessary permissions.
Does 3.7.0 version has this dependency or should we still keep using 1.0?
from clevertap-android-sdk.
Related Issues (20)
- Support for a hook/ helper methods for listening FirebaseMessagingService HOT 2
- SDK 5.1.0's new CTWorkManager breaks custom WorkerFactory implementations and can't rollback HOT 13
- Build error : Missing Glide classes while taking release build HOT 8
- Timer template with "pt_big_img" not delivering to device HOT 4
- Implicit PendingIntent error in Pre-Launch Report Play Store HOT 2
- Upgrading play-services-ads requires ads.APPLICATION_ID to be declared in app manifest HOT 4
- Rating Template Issue HOT 10
- java.lang.ClassNotFoundException - Didn't find class "com.clevertap.android.sdk.InAppNotificationActivity" on path: DexPathList[[zip file HOT 2
- Email is merging instead of update HOT 3
- Manual Carousel: Image sequence getting messed up for release build HOT 1
- Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.clevertap.android.sdk.pushnotification.fcm.CTFirebaseMessagingReceiver: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.messaging.RemoteMessage HOT 4
- Cannot access '<init>': it is internal in 'TemplateRenderer' getting this error HOT 1
- Clevertap In App Notifications not getting for Android Tablet. HOT 5
- InApp Custom HTML doesn't render iframes HOT 2
- Profile merge issue in android HOT 11
- [ANR] CleverTap RenderMax SDK causes ANR HOT 2
- Multiple profiles merging into one HOT 5
- Fatal Exception: java.lang.RuntimeException Unable to create service com.clevertap.android.sdk.pushnotification.amp.CTBackgroundJobService: java.lang.ClassNotFoundException HOT 9
- Timer template: After timer expiry notification not getting updated HOT 7
- Small notification icon is displaying different background colour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clevertap-android-sdk.