Closed Noitidart closed 5 months ago
I think I solved this, I think it was my retry strategy over retrying.
I think I solved this, I think it was my retry strategy over retrying.
I am experiencing similar issue now but i am unable to fix it. what do you mean by "retry strategy over retrying"
Describe the bug When I push a remote update via EAS (Expo), beofore calling Expo's
Updates.reloadAsnc
which reloads the app bundle, I calldisconnectReader
. Then on startup of, I callinitialize
,discoverReaders
, and thenconnectBluetoothReader
. TheconnectBluetoothReader
endlessly resolves with this error response:If I hard close the app, and re-launch it, it does the same three calls and succeeds very fast. So internet connectivity is not a problem. This happens on two my touchscreens. One is hard wired ethernet, the other is wifi.
To Reproduce Steps to reproduce the behavior: It doesn't happen all the time, but eventually an app bundle reload as I described above does this.
Expected behavior When interent is good, it should not resolve with error of
NETWORK_ERROR.CONNECTION_TOKEN_PROVIDER_ERROR
.Screenshots If applicable, add screenshots to help explain your problem.
Stripe Terminal React Native SDK version
Smartphone (please complete the following information):
Additional context
Is there maybe other steps other than
disconnectReader
I should call before reloading the app bundle?