Reputation: 636
The braintree dropin ui IOSv4 does not show the venmo payment option even though I followed the configuration docs at https://developers.braintreepayments.com/guides/venmo/client-side/ios/v4. Other payment options are shown and functional. I don't have the venmo app installed on the device, because on android it simply defaults to a webview if the app isn't installed so I assumed iOS would do the same. Now, however, after looking at the code I see this:
if (isVenmoAppInstalled || [BTDropInOverrides displayVenmoOption]) {
[activePaymentOptions addObject:@(BTUIKPaymentOptionTypeVenmo)];
}
The docs don't specify this, so I thought I'd ask for help here.
I launch the drop-in ui like this:
BTDropInRequest *request = [[BTDropInRequest alloc] init];
BTDropInController *dropIn = [[BTDropInController alloc] initWithAuthorization:clientTokenOrTokenizationKey request:request handler:^(BTDropInController * _Nonnull controller, BTDropInResult * _Nullable result, NSError * _Nullable error) {
What am I doing wrong?
Upvotes: 0
Views: 597
Reputation: 480
Unfortunately right now the venmo icon does not appear in simulator. If you run on an actual device, it should be there.
Upvotes: 0