#mauliks_code
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mauliks_cancel-terminal-action, 2 days ago, 88 messages
- mauliks_code, 3 days ago, 8 messages
- mauliks_code, 6 days ago, 35 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1235857160836087839
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! sorry, i'm not sure I understand the question, are you saying that the portion in Code is never called?
Is this a question about why didReportUnexpectedReaderDisconnect function never called?
no question is about - (void)reader:(SCPReader *)reader didStartReconnect:(SCPCancelable *)cancelable disconnectReason:(SCPDisconnectReason)disconnectReason
didReportUnexpectedReaderDisconnect this method called when reader got disconnected but auto connect is not happening
What is the value of disconnectReason ?
๐ didn't check
let me check
I am switching off the bluetooth of iPad
then again switching ON
(SCPReader *)reader.hasExperiencedUnexpectedDisconnect = NO in logs
why?
- (void)reader:(SCPReader *)reader didStartReconnect:(SCPCancelable *)cancelable disconnectReason:(SCPDisconnectReason)disconnectReason
this method is not being called
only this didReportUnexpectedReaderDisconnect is called
Is it about why your app is not automatically reconnecting to the reader?
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=bluetooth#2.-automatically-attempt-reconnection did you set setAutoReconnectOnUnexpectedDisconnect to true?
SCPBluetoothConnectionConfigurationBuilder *connect = [[SCPBluetoothConnectionConfigurationBuilder alloc] initWithLocationId:location]; [connect setAutoReconnectOnUnexpectedDisconnect:YES]; [connect setAutoReconnectionDelegate:self];
yes
Hi @lusty talon I need to go, my teammate @pastel lotus will continue helping you
do you have some detailed logs from the SDK when this happens, when using .verbose logging, and serial numbers of the reader? https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPTerminal.html#/c:objc(cs)SCPTerminal(py)logLevel