arleyandrada / PushClient

FREE and Open Source - Titanium PushClient Module
Other
44 stars 17 forks source link

line 171 issue of undefined & not registering as notification opened. #132

Closed dpz3579 closed 8 years ago

dpz3579 commented 8 years ago

line 171 -> event.data.custom.i -> returns "undefined" as event.data.custom is a string..

change it to
JSON.parse(event.data.custom).i this registers to onesignal as the notification has been opened...