Pass userInfo in subscribeNotification
This commit is contained in:
parent
242508e22f
commit
97250b53e8
5 changed files with 38 additions and 9 deletions
|
@ -26,6 +26,9 @@ NSDictionary* DictionaryValueToNSDictionary(const base::DictionaryValue& value)
|
|||
|
||||
scoped_ptr<base::DictionaryValue> NSDictionaryToDictionaryValue(
|
||||
NSDictionary* dict) {
|
||||
if (!dict)
|
||||
return nullptr;
|
||||
|
||||
NSData* data = [NSJSONSerialization dataWithJSONObject:dict
|
||||
options:0
|
||||
error:nil];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue