DropInRequest cannot found

683 views Asked by At

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

1

There are 1 answers

3
Sujay On

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