Open mehtahardikr opened 2 weeks ago
@mehtahardikr Thank you for your report. We have tested the operation under close conditions and could not reproduce this issue. Could you please provide us with the following information so that we can investigate further?
You have to keep monitor printer and switch to another applications and around 60 secs you have to go back to the app you will see that logs like write failed adn then after not able to print as it keep says not opened. Its on Ipad and yes happening on other iPads too. Its just demo app to integrate star printer and check its functionalities.
On Fri, Nov 8, 2024, 13:35 Kazumasa Hosozawa @.***> wrote:
@mehtahardikr https://github.com/mehtahardikr Thank you for your report. We have tested the operation under close conditions and could not reproduce this issue. Could you please provide us with the following information so that we can investigate further?
- Xcode version
- Is this problem occurring in the application you are creating? Does it occur in the sample code of this project?
- Does this issue occur on other iOS devices?
— Reply to this email directly, view it on GitHub https://github.com/star-micronics/StarXpand-SDK-iOS/issues/33#issuecomment-2464008493, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7K6DYYHVJJLPD7HMOJCDDZ7RWDTAVCNFSM6AAAAABRIFOBMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRUGAYDQNBZGM . You are receiving this because you were mentioned.Message ID: @.***>
@mehtahardikr Thank you for your response. We will check the operation and let you know if we make any progress. Can you tell us what version of Xcode you are using?
Xcode : 15.3
@mehtahardikr Thanks for the information.
We have confirmed that this problem occurs when the app does not execute stopMonitoring()
when it transitions to the background.
If this is the case for your app, please execute stopMonitoring()
when transitioning to the background.
In this project, MonitorViewController.swift, stopMonitoring()
is executed in viewWillDisappear()
and willResignActive()
.
Best regards.
Okay will check this out
On Wed, Nov 20, 2024, 08:15 Kazumasa Hosozawa @.***> wrote:
@mehtahardikr https://github.com/mehtahardikr Thanks for the information.
We have confirmed that this problem occurs when the app does not execute stopMonitoring() when it transitions to the background. If this is the case for your app, please execute stopMonitoring() when transitioning to the background.
In this project, MonitorViewController.swift https://github.com/star-micronics/StarXpand-SDK-iOS/blob/main/example/StarXpandSDK/MonitorViewController.swift, stopMonitoring() is executed in viewWillDisappear() and willResignActive() .
Best regards.
— Reply to this email directly, view it on GitHub https://github.com/star-micronics/StarXpand-SDK-iOS/issues/33#issuecomment-2487227712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7K6DYJQ4SPPFASQYQU2ZD2BPZSZAVCNFSM6AAAAABRIFOBMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXGIZDONZRGI . You are receiving this because you were mentioned.Message ID: @.***>
Description
start monitor printer ( Lan Interface ) , put app in background, open another apps and back to app around after 60 secs. and try to check printer status.
Your device where the bug occurs
Your printer
To Reproduce
Steps to reproduce the behavior:
Expected behavior
it keep throwing following logs in background.
It should not and while checking printer status, it should not throw "Not opened" error