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
Seems like class com.google.android.gms.ads.identifier.AdvertisingIdClient is not getting found in DeviceInfo.java
Followed all the instructions regarding the gradle/proguard setup.
Someone suggested a fix (not using reflection), but afaik it got dismissed dantetam/Amplitude-Android@39c70ab due to "we would have to change our tests" 🤷♀️
Now Adjust SDK seems to find and assign advertising id on Android just fine. My fix introduces option to set custom advertising id, this involves changes in both Android and Flutter repos:
Expected Behavior
[adjust] Install
is displayed on Android & iOSCurrent Behavior
[adjust] Install
is only displayed on iOSPossible Solution
The root of the problem is Android Amplitude SDK, logs show:
Seems like
class com.google.android.gms.ads.identifier.AdvertisingIdClient
is not getting found in DeviceInfo.javaFollowed all the instructions regarding the gradle/proguard setup.
Someone suggested a fix (not using reflection), but afaik it got dismissed dantetam/Amplitude-Android@39c70ab due to "we would have to change our tests" 🤷♀️
Now Adjust SDK seems to find and assign advertising id on Android just fine. My fix introduces option to set custom advertising id, this involves changes in both Android and Flutter repos:
Then I can simply use it at initialisation time and supply valid advertising id:
This fixed problem we saw in our amplitude dashboard.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: