mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Add observers for local notifications
Summary: This commit adds the delegate hooks so that local notifications get passed onto the JS and adds a new event listener type for local notifications. Also add functions to clear local notifications Closes https://github.com/facebook/react-native/pull/2084 Reviewed By: svcscm Differential Revision: D2908096 Pulled By: nicklockwood fb-gh-sync-id: 759d299ea35abea177e72934076297d666d3ea20 shipit-source-id: 759d299ea35abea177e72934076297d666d3ea20
This commit is contained in:
committed by
facebook-github-bot-7
parent
c6366e4dd8
commit
758d9e8304
@@ -23,7 +23,7 @@ RCT_EXTERN NSString *__nullable RCTJSONStringify(id __nullable jsonObject, NSErr
|
||||
RCT_EXTERN id __nullable RCTJSONParse(NSString *__nullable jsonString, NSError **error);
|
||||
RCT_EXTERN id __nullable RCTJSONParseMutable(NSString *__nullable jsonString, NSError **error);
|
||||
|
||||
// Santize a JSON string by stripping invalid objects and/or NaN values
|
||||
// Sanitize a JSON object by stripping invalid types and/or NaN values
|
||||
RCT_EXTERN id RCTJSONClean(id object);
|
||||
|
||||
// Get MD5 hash of a string
|
||||
|
||||
Reference in New Issue
Block a user