Hello,
I have integrated clover remote pay android sdk in my Kiosk Application. But when i connecting with device it is asking for pair code. so how to connect without pairing code?
Hello,
I have integrated clover remote pay android sdk in my Kiosk Application. But when i connecting with device it is asking for pair code. so how to connect without pairing code?
You must pair. The first time you successfully pair a token will be passed back in the successful pairing response. You can save that token and use it for subsequent connection attempts and the pairing screen will be supressed if the token is valid.
In the below example you can see how to handle pairing. Note the authToken in onPairingSuccess. Save that token and then when you create your configuration (WebSocketCloverDeviceConfiguration) instead of passing null as the last parameter, pass the stored authToken.
1 Person is following this question.