Android Question Switch to the Play Referrer API by March 1, 2020

D

Deleted member 103

Guest
Hi,
I got this email from Google today, can anyone tell me how to implement this Api?

 

Computersmith64

Well-Known Member
Licensed User
Longtime User
+1 - also received this email & wondered what is required / what the implications are / whether this is already taken care of in one of the current B4X libraries?

Interestingly, they only identified 2 out of the 18 apps I have on Play Store as being affected - which seems odd.

- Colin.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
If Erel can not help, then we're screwed.

I don't even take it into account. of course, he can help. he is THE Master in coding!

 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Same here! Which intent is deprecated that we used?

INSTALL_REFERRER Intent is broadcast when an app is installed from the Google Play Store. This BroadcastReceiver listens for that Intent , passing the install referrer data to GTM for Mobile Apps and Google Analytics. This receiver will automatically invoke the Google Analytics receiver to set the Campaign data.
 
Upvote 0
D

Deleted member 103

Guest
Hi guys,
I use this code below in the 2 app meant by Google.
I think you should not use this code anymore, or replace it with the new Api.

B4X:
Private Sub CheckForGooglePlayServices As Boolean
    Dim GoogleApiAvailablity As JavaObject
    GoogleApiAvailablity = GoogleApiAvailablity.InitializeStatic("com.google.android.gms.common.GoogleApiAvailability").RunMethod("getInstance", Null)
    Dim context As JavaObject
    context.InitializeContext
    If GoogleApiAvailablity.RunMethod("isGooglePlayServicesAvailable", Array(context)) <> 0 Then
        GoogleApiAvailablity.RunMethod("makeGooglePlayServicesAvailable", Array(context))
        Return False
    End If
    Return True
End Sub

You can create a Thread in the Wishforum and/or a offer in the Joboffer forum if you are not able.
Thanks for the help and the hint, I would never have got this idea.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User

i am not using this code anywhere but still got that mail for 4 of my apps. So its something else.
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
It seems that it's in Informatix's Google Play Games Services library.

- Colin.
 
Upvote 0

scsjc

Well-Known Member
Licensed User
Longtime User
I also use this code in the application that refers to the mail sent.

but I see that ILAN comments that he does not use it ... we will have to continue finding out.
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
I also use this code in the application that refers to the mail sent.

but I see that ILAN comments that he does not use it ... we will have to continue finding out.
It could be in a few libraries. I'm pretty sure it's in Informatix's GPGS library & there is a function called IsGooglePlayServicesAvailable in the FirebaseAnalytics library which might also require the BIND_GET_INSTALL_REFER permission.

- Colin.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…