emekalites / react-native-alarm-notification

schedule alarm and local notification in react-native
https://www.npmjs.com/package/react-native-alarm-notification
MIT License
225 stars 95 forks source link

index.js - sendNotification loop_sound default. #109

Closed degemenc closed 3 years ago

degemenc commented 3 years ago

Without this, I was getting the following errors in a newly created project and the most basic alarm:

Possible Unhandled Promise Rejection (id: 0): Error: The operation couldn’t be completed. (NSInvalidArgumentException error 0.)

*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[6]