0

I have integrated BrainTree payment SDK. And trying to login PayPal sandbox account for further payment. One prompt will show up each time I trigger payPalDriver.authorizeAccount, the prompt content is : "XXXX" Wants to Use "paypal.com" to Sign In.

My question is can I custom XXX in the prompt? And How?

Kevin
  • 711
  • 7
  • 19

1 Answers1

1

XXXX is pulled from CFBundleDisplayName which is in the Info.plist file. This Stack Overflow Answer goes into more detail regarding Bundle Names for iOS apps.

hollabaq
  • 597
  • 3
  • 13
  • Thank you. But I think the correct answer is CFBundleName, not the CFBundleDisplayName. There are two different items. – Kevin Jun 01 '18 at 15:47
  • 1
    @Kevin The purpose of `CFBundleDisplayName` is to display the name to the user ([link to Apple's docs here](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-110725)). `CFBundleName` specifies the short name of the bundle, which may be displayed to users in situations such as the _absence of a value_ for CFBundleDisplayName. `CFBundleName` should be less than 16 characters long. – hollabaq Jun 05 '18 at 19:51
  • Yes, I think you are right, that's maybe related to BrainTree's solution. – Kevin Jun 07 '18 at 03:11