Yanping Chen

Results 17 comments of Yanping Chen

Still seeing this warning: Background Task 26 ("GDTCCTUploader-upload"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:)...

Is there any progress on this issue? We also encountered this problem. Thanks

It often occurs when the network is not good. I suspect it has something to do with multi-thread switching when doing endBackgroundTask. Is there any progress on this issue?

The uploadQueue is serial queue `_uploadQueue = dispatch_queue_create("com.google.GDTCCTUploader", DISPATCH_QUEUE_SERIAL);` Is there a possibility that serial queue is blocked by a heavy task, the callback will not called until the heavy...

This pr seems to fix the app being killed before termination by watchdog. But this issue happens when the app enter the background. I am not sure if this pr...

The code: ``` let messagesList = getRealm(for: Message.self).objects(Message.self).filter(predicate) //get messages from realm db if notificationToken == nil { notificationToken = messagesList.observe(keyPaths: [\Message.isRead]) { [weak self] (changes: RealmCollectionChange) in switch changes...

Our app is also greatly affected. Each version has thousands of crashes. What are the common causes of such crashes? Thanks a lot.

```swift // Delete expired messages when the App starts func delete(msg: Message) { realm.delete(msg._to) realm.delete(msg) } ``` ```swift //Here is my scheme of the objects implementation: open class Message:Object {...

I have checked whether the Object is **invalidate** before deleting it. Does this check work? Thanks a lot. ```swift // Here is the delete function: func delete(_ entity: T) {...

FYI: I see that recent version of realm-core(Realm Core v14.10.3) has a fix for this issue, [Core#7828](https://github.com/realm/realm-core/issues/7828) and [Core#7594](https://github.com/realm/realm-core/issues/7594) but When I upgraded the Realm SDK to 10.55.2(realm-core v14.11.0) and...