localNotification together with badge
See original GitHub issueI had the local-notification plugin installed and it was working fine
cordova plugin add de.appplant.cordova.plugin.local-notification
then I tried to install badge because I was not able to clear the badge icon
cordova plugin add de.appplant.cordova.plugin.badge
Now I’m getting this error when I try to build in xcode
duplicate symbol _UIApplicationRegisterUserNotificationSettings in:
.../Debug-iphonesimulator/On-the-Go.build/Objects-normal/x86_64/AppDelegate+APPBadge.o
.../Debug-iphonesimulator/On-the-Go.build/Objects normal/x86_64/AppDelegate+APPLocalNotification.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
UILocalNotification | Apple Developer Documentation
An app is responsible for managing the badge number displayed on its icon. For example, if a text-messaging app processes all incoming messages...
Read more >iOS Local Notification Tutorial - YouTube
My full length Udemy course: Saving Data in Your iOS App Using Core Data: https://bit.ly/30dcIjACheck out my new full length iOS ...
Read more >iPhone: Incrementing the application badge through a local ...
I've found, implemented & tested a 'workaround' for (apparantly) auto-incrementing the app icon's badge number, that works fine with non-repeating local ...
Read more >Local Notification badges - Unity Answers
At present I create a local notification to go off after a period of no use of my game. This also sets the...
Read more >Adding Local Notifications in Your iOS App - AppCoda
Local Notification Badge Number When the app is not running, users see notifications in the following ways, depending on the notification ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed my build error by commenting out line 27 of platforms/ios/MyApp/Plugins/de.appplant.cordova.common.registerusernotificationsettings/AppDelegate+APPRegisterUserNotificationSettings.m
//NSString* const UIApplicationRegisterUserNotificationSettings = @“UIApplicationRegisterUserNotificationSettings”;
@t1tlehto Thanks, it works