bsorrentino / cordova-broadcaster

Cordova Plugin to allow message exchange between javascript and native (and viceversa)
MIT License
113 stars 53 forks source link

How to get data back from object, not userInfo #46

Closed semerda closed 3 years ago

semerda commented 5 years ago

I can retrieve the JSON from userInfo but I also want to grab data from the object posted from iOS NSNotificationCenter. Is that possible?

bsorrentino commented 5 years ago

Hi @semerda

Since you send event from Native code to Javascript, potentially, you can send any data representable as String

bsorrentino commented 3 years ago

closed for inactivity