Hi Team,
I was trying to add NSE to my Project to show Rich messaging. Creation of the NSE target to the project - Successful.
Creation of additional provisioning profile in developer portal for NSE and mapped it in XCode - Successful
The APS payload contains the content-type: 1 and attachment url to download the media content - Successful.
When notification arrive the will present method gets called first - Successful.
The auto execution of Notification Service 'didReceive(_ request: UNNotificationRequest,
withContentHandler contentHandler: @escaping
(UNNotificationContent) - Void)' - failure.
6. Tried running the target instead of main app - failure
7. Tried attaching a debugger to get break point - failure
8. Debug and Console logs - failure
9. Additionally tried the below option from every developer suggestion but no luck.
o https://stackoverflow.com/questions/50853503/images-in-ios-push-notification
o https://stackoverflow.com/questions/51722109/unnotificationserviceextensions-didrecieve-not-called
o https://stackoverflow.com/questions/39663903/ios10-unnotificationserviceextension-not-called
o https://stackoverflow.com/questions/46463680/notificationserviceextension-not-called
o https://stackoverflow.com/questions/45483018/unnotificationserviceextension-not-working-on-iphone-5-ios-10
Could you please assist on the same to get it working as the notification service methods cannot be called explicitly and it needs to be triggered by OS.
A quick, faster response and resolution is much appreciated.
Post
Replies
Boosts
Views
Activity
Dear Team,
We have the following crash obtained through crashlytics.*
Application has LSSupportsOpeningDocumentsInPlace key, but doesn't implement application:openURL:options: on delegate *.AppDelegate: 0x28144df10
As of iOS 12 onwards application supporting Open URL needs to add 'LSSupportsOpeningDocumentsInPlace' in their info.plist and the same has been added in the my code base, but still why get this error.
But as of iOS 14 even though we follow the compliance we are seeing this being reported as crash.
There are no similar case from any developer being reported in apple developer portal / open forum.
Kindly let us know what can be done.
Dear Team,
We are receiving the below crash from Crashlytics in recent times,
Could you please confirm on the reason behind and how that can be avoided
Fatal Exception: NSInvalidArgumentException[NSTaggedPointerString stringByReplacingCharactersInRange:withString:]: nil argument
0 CoreFoundation __exceptionPreprocess
1 libobjc.A.dylib objc_exception_throw
2 Foundation
[NSUserDefaults(NSUserDefaults_NSURLExtras) _web_defaultsDidChange]
3 TextInput[TIDocumentState(StateTransitions) documentStateAfterReplacingText:withText:]
40 UIKitCore
UIApplicationMain
41 main + 33
42 libdyld.dylib start
A quick help will be much appreciated.