0

I am following the Firebase invite tutorial from https://developers.google.com/android/reference/com/google/android/gms/appinvite/AppInviteInvitation.IntentBuilder

A lot of code is relying on deprecated classes. Is there a alternative 'new' classes and apis.

earthw0rmjim
  • 19,027
  • 9
  • 49
  • 63
appbootup
  • 9,537
  • 3
  • 33
  • 65
  • 1
    Replaced by Firebase Invites. The class name is the same, the package is different. https://firebase.google.com/docs/reference/android/com/google/android/gms/appinvite/package-summary More info here: https://firebase.google.com/docs/invites/android – Eugen Pechanec Jul 08 '17 at 04:50

1 Answers1

1

You just have to take a look at the docs:

This class was deprecated.

Use FirebaseAppInvite, returned by getInvitation(com.google.firebase.dynamiclinks.PendingDynamicLinkData), which holds the deep link and invitation id.

earthw0rmjim
  • 19,027
  • 9
  • 49
  • 63
  • Ah. A blur of vision . Thanks for the input. I was just using android api and there was no suggested change in the documentation of deprecated api java code. All is well . Thank you. – appbootup Jul 08 '17 at 07:14