I am getting following error
Local notification is working in Android , but getting the following error in ios ,
2016-12-02 17:58:30.430 TaskBean[450:60493] THREAD WARNING: [‘LocalNotification’] took ‘44.307129’ ms. Plugin should use a background thread.
Thanks in advance
This error, by it self, does not justify a ‘not working’ behavior. There is anything else on the XCode console?
I’ve used this plugin before and it works just fine in my case.
here i have attached the screen shot
2016-12-02 18:40:06.660 TaskBean[463:66091] Apache Cordova native platform version 4.2.1 is starting.
2016-12-02 18:40:06.664 TaskBean[463:66091] Multi-tasking -> Device: YES, App: YES
2016-12-02 18:40:06.796 TaskBean[463:66091] Using UIWebView
2016-12-02 18:40:06.804 TaskBean[463:66091] [CDVTimer][handleopenurl] 0.697970ms
2016-12-02 18:40:06.811 TaskBean[463:66091] [CDVTimer][intentandnavigationfilter] 6.725967ms
2016-12-02 18:40:06.812 TaskBean[463:66091] [CDVTimer][gesturehandler] 0.335991ms
2016-12-02 18:40:06.854 TaskBean[463:66091] [CDVTimer][splashscreen] 40.942013ms
2016-12-02 18:40:06.884 TaskBean[463:66091] [CDVTimer][statusbar] 30.241013ms
2016-12-02 18:40:06.979 TaskBean[463:66091] [CDVTimer][socialsharing] 93.730986ms
2016-12-02 18:40:06.984 TaskBean[463:66091] [CDVTimer][keyboard] 4.873991ms
2016-12-02 18:40:07.027 TaskBean[463:66091] [CDVTimer][file] 42.581022ms
2016-12-02 18:40:07.030 TaskBean[463:66091] [CDVTimer][localnotification] 2.753019ms
2016-12-02 18:40:07.031 TaskBean[463:66091] [CDVTimer][localnotification] 0.057995ms
2016-12-02 18:40:07.031 TaskBean[463:66091] [CDVTimer][TotalPluginStartup] 228.682995ms
2016-12-02 18:40:07.421 TaskBean[463:66091] Resetting plugins due to page load.
2016-12-02 18:40:08.955 TaskBean[463:66091] Finished load of: file:///var/containers/Bundle/Application/EECE3344-155B-42E6-A108-FFCF341064EF/TaskBean.app/www/index.html#/app/today
2016-12-02 18:40:57.962 TaskBean[463:66343] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘unable to serialize userInfo: Error Domain=NSCocoaErrorDomain Code=3851 “Property list invalid for format: 200 (property lists cannot contain objects of type ‘CFNull’)” UserInfo={NSDebugDescription=Property list invalid for format: 200 (property lists cannot contain objects of type ‘CFNull’)}’
*** First throw call stack:
(0x2555791b 0x24cf2e17 0x2a160a37 0x121b0b 0x11b20d 0x2dfb7f 0x2ebecf 0x2eb7cf 0x25289b29 0x25289718)
libc++abi.dylib: terminating with uncaught exception of type NSException
warning: could not load any Objective-C class information. This will significantly reduce the quality of type information available.
(lldb)
This logs you posted here are happening everytime? It does not seems to present the behavior of your original question (the THREAD WARNING of plugin taking too long to respond is not there and you have a terminating exception that suggest your app not starts at all and is not related to the local Notification Plugin).
Then what about the local notification still it was not triggered … then what is the problem is there any solution … , How can you say " It does not seems to present the behavior of your original question " ??