Mobile Payments SDK integration on Android

Hi there,
I just find out about Mobile Payments SDK, and I’m very happy for that, I was waiting for it for a long time.
I have 2 questions

  1. Is there way to remove the ‘Manual card entry’ button from the payment activity, I’m using the PromptMode.DEFAULT in the PromptParameters
  2. My app crashes on Release Version, but if I set the buildTypes.release.isMinifyEnabled=false every think is ok… is there some thing special to add in the progardFiles ?

Thanks a lot for any help.

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Build on Android: In-App Payments SDK
Build on iOS
Mobile Payments SDK

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Yes, you can pass the tender types you want to use and remove keyed payments.

What is your application ID? :slightly_smiling_face:

Cand you show me how ? i mean a code example

I have already send you my App id in a private message

You can remove KEYED from the additionalPaymentMethods in the PromptParameters in this section. KEYED is currently the only additional payment method, so it should just be an empty list to remove it. :slight_smile: