GithubHelp home page GithubHelp logo

Comments (11)

darshanclevertap avatar darshanclevertap commented on June 15, 2024 1

@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.

darshanclevertap avatar darshanclevertap commented on June 15, 2024 1

@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.

calvarez-ov avatar calvarez-ov commented on June 15, 2024

Actually, we also have the crash with installreferrer 1.1, it appears

from clevertap-android-sdk.

darshanclevertap avatar darshanclevertap commented on June 15, 2024

@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.

calvarez-ov avatar calvarez-ov commented on June 15, 2024

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.

calvarez-ov avatar calvarez-ov commented on June 15, 2024

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.

calvarez-ov avatar calvarez-ov commented on June 15, 2024

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.

calvarez-ov avatar calvarez-ov commented on June 15, 2024

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.

darshanclevertap avatar darshanclevertap commented on June 15, 2024

@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.

darshanclevertap avatar darshanclevertap commented on June 15, 2024

@calvarez-ov We decided to revert to v1.0. Please checkout the latest release v3.6.4. Thanks!

from clevertap-android-sdk.

rishabh876 avatar rishabh876 commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.