question

pradeep avatar image
pradeep asked David Marginian Deactivated commented

PaymentConnector.sale does not show the display screen in react native

This is in device Clover Flex.
I have a react native app, in which I have added a button component developed in android. On the touchlistener of Android, I am calling PaymentConnector.sale.

The issue is that the sale screen is not displayed. I have noticed that if I tap the button rapidly between 20-30 times, sometimes the screen does get displayed.

React-Native uses api version 28, so I compiled ReactNative from source and set its targetSdk to 22. I could not change compileSdk of React because it uses some libraries of the later sdk.

If I create a new Activity and put the button in that, the screen *is* displayed. However, I do not want to add an extra screen just for this issue.
Clover Flex
3 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

SAMSA Web Team avatar image SAMSA Web Team commented ·

Did you ever figure this out? I'm having the exact same issue.

0 Likes 0 ·
whosbuddy avatar image whosbuddy SAMSA Web Team commented ·

Were you able to solve this SAMSA Web Team ?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ whosbuddy commented ·

I don't know much about React Native but I believe we have integrators that use it. I believe the problem here is likely related to this - https://community.clover.com/questions/18487/paymentconnectorsale-is-not-reliably-launching-the.html.

0 Likes 0 ·
pradeep avatar image
pradeep answered SAMSA Web Team commented
No, I had to use an intermediate screen. I was hoping that future releases of clover would fix it, but apparently it has not.

i have not yet got a reply from clover regarding this
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

SAMSA Web Team avatar image SAMSA Web Team commented ·

I can't even get the pay screen to show when using an intermediate screen and button. Would you by chance have your app or part of your app up on github or somewhere were I could see what you did? Thanks.

0 Likes 0 ·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community