Meshbits / pirate-chain-ios-wallet

iOS version of the Pirate Wallet
MIT License
3 stars 2 forks source link

Recovery Screen Popup, whenever resume an APP #41

Closed praveshkhatana closed 3 years ago

praveshkhatana commented 3 years ago

It's keep showing 'Recovery screen', whenever I try to resume an app.

https://user-images.githubusercontent.com/26607301/138925043-f7c42899-1865-4461-91d0-0368378e0ed5.MP4

LOG


[DEBUG 🐞] CompactBlockProcessor.swift - processNewBlocks(range:) - line: 753 -> Warning: fetch operation on range 1480496...1623379 cancelled
[DEBUG 🐞] ZECCWalletEnvironment.swift - subscribeToApplicationNotificationsPublishers() - line: 366 -> applicationWillEnterForeground
[DEBUG 🐞] SDKSynchronizer.swift - start(retry:) - line: 194 -> warning:  synchronizer started when already started
[EVENT ⏱] LightWalletGRPCService.swift - connectivityStateDidChange(from:to:) - line: 497 -> Connection Changed from ready to idle
[DEBUG 🐞] ZECCWalletEnvironment.swift - subscribeToApplicationNotificationsPublishers() - line: 382 -> didBecomeActiveNotification
showPassCodeScreen: true
AppDelegate.isTouchIDVisible: true
[DEBUG 🐞] ZECCWalletEnvironment.swift - subscribeToApplicationNotificationsPublishers() - line: 396 -> applicationWillResignActive
SUCCESS IN SETTINGS
[DEBUG 🐞] ZECCWalletEnvironment.swift - subscribeToApplicationNotificationsPublishers() - line: 382 -> didBecomeActiveNotification
[DEBUG 🐞] ZECCWalletEnvironment.swift - subscribeToApplicationNotificationsPublishers() - line: 396 -> applicationWillResignActive
showPassCodeScreen: false
[EVENT ⏱] LightWalletGRPCService.swift - connectivityStateDidChange(from:to:) - line: 497 -> Connection Changed from idle to connecting
2021-10-26 22:18:10.748751+0530 ECC-Wallet-no-logs[76379:6262236] dnssd_clientstub write_all(9) DEFUNCT
2021-10-26 22:18:10.748785+0530 ECC-Wallet-no-logs[76379:6262236] dnssd_clientstub deliver_request ERROR: write_all(9, 76 bytes) failed
2021-10-26 22:18:10.748817+0530 ECC-Wallet-no-logs[76379:6262236] dnssd_clientstub write_all(9) DEFUNCT
[DEBUG 🐞] ZECCWalletEnvironment.swift - subscribeToApplicationNotificationsPublishers() - line: 389 -> didEnterBackgroundNotification
[EVENT ⏱] LightWalletGRPCService.swift - connectivityStateDidChange(from:to:) - line: 497 -> Connection Changed from connecting to ready
2021-10-26 22:18:45.735921+0530 ECC-Wallet-no-logs[76379:6262021] [BackgroundTask] Background Task 20 ("ZcashLightClientKit.SDKSynchronizer"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
[INFO ℹī¸] ZECCWalletEnvironment.swift - registerBackgroundActivity() - line: 337 -> BackgroundTask Expiration Handler Called
lastw0nd3r commented 3 years ago

Hey @praveshkhatana Which iOS version are you on ?

praveshkhatana commented 3 years ago

15.0.2

lastw0nd3r commented 3 years ago

Thanks, I've pushed one fix, if you can take pull (try reinstallation once) and give it a quick test whenever you can. I am not closing this bug yet until you give a go ahead. Thanks

lastw0nd3r commented 3 years ago

Identified the use case and it's fixed.