0

I have implemented Braintree with Venmo, now i want to get DeviceData so as described in reference link i have done everything.

build.gradle

compile 'com.braintreepayments.api:data-collector:2.4.0'

create DropInRequest object

DropInRequest dropInRequest = new DropInRequest()
                .clientToken(clientToken);

but it is not recognizing DropInRequest class. It shows

enter image description here

Ravi
  • 34,851
  • 21
  • 122
  • 183

1 Answers1

2

DropInRequest comes under different package Drop-in. Add this to gradle.

compile 'com.braintreepayments.api:drop-in:3.0.5'

Check VenmoClient-Side Implementation from BrainTree which tells about integration of Drop-In and all.

See Release Info at Braintree Android Drop-in 3.0.5 released

Sujay
  • 3,417
  • 1
  • 23
  • 25
  • I have followed link provided by BrainTree, have you checked that reference link? – Ravi Jan 25 '17 at 06:06
  • @RaviRupareliya Yes I saw that link. But for integrating Venmo with BrainTree they have a different link https://developers.braintreepayments.com/guides/venmo/client-side/android/v2. – Sujay Jan 25 '17 at 06:20
  • Also note that [Venmo payments are currently in limited release](https://developers.braintreepayments.com/guides/venmo/configuration#email-us). If you haven't already, you'll need to contact Braintree "to determine if you're a good fit for the limited release." – Shea Jan 26 '17 at 22:26