chabokpush / chabok-demo-ios Goto Github PK
View Code? Open in Web Editor NEWIOS version of Chabok push service demo application
License: MIT License
IOS version of Chabok push service demo application
License: MIT License
Hi,
Quite often we see app crash in AppDelegate with no reason.
I think this will happen after receiving some push notifications.
here is the log of crash
2017-12-17 17:13:59.682185+0330 shahrvand[8121:3137230] -[PushClientManager userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:]: unrecognized selector sent to instance 0x10bd123c0
2017-12-17 17:13:59.741200+0330 shahrvand[8121:3137230] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2017-12-17 17:14:04.737711+0330 shahrvand[8121:3137230] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PushClientManager userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:]: unrecognized selector sent to instance 0x10bd123c0'
*** First throw call stack:
(0x1822b2364 0x1814f8528 0x1822bf828 0x1822b7a1c 0x18219cecc 0x104bd2a90 0x104bd2dc8 0x18ba080f8 0x18c419798 0x18c419674 0x18c1872dc 0x18c3203dc 0x18c18718c 0x18bf6b78c 0x18be0d2d4 0x184976ca4 0x1086f928c 0x1087059e4 0x1849aa7f8 0x1849aa49c 0x1849aaa38 0x18225a97c 0x18225a8fc 0x18225a184 0x182257d5c 0x182177e58 0x184024f84 0x18b7f767c 0x104bd42e4 0x181c9456c)
libc++abi.dylib: terminating with uncaught exception of type NSException
and this is my userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:
func userNotificationCenter(_ center: UNUserNotificationCenter,
didReceive response: UNNotificationResponse,
withCompletionHandler completionHandler: @escaping () -> Void) {
let userInfo = response.notification.request.content.userInfo
self.manager?.userNotificationCenter(center, didReceive: response, withCompletionHandler: completionHandler)
completionHandler()
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.