Back to All

JS Bridge Gonative.Onesignal undefined

Hello

Unfortunately it looks like gonative.onesignal is undefined in the JS Bridge file when I call it (also after gonative_library_ready() ). I can also not find it in the official file: https://github.com/gonativeio/gonative-ios/blob/4b136bf203c1312c6a90dbbf7a7925de520fab24/LeanIOS/GoNativeJSBridgeLibrary.js

Am I doing something wrong? As the commands are in the official documentation:
https://gonative.io/docs/data-tags

gonative.onesignal.tags.setTags(onesignalTags);
gonative.onesignal.tags.deleteTags({callback:tagGetCallbackFunction});

I was only able to setTags via the gonative:// protocol. Any help for using directly the JSBridge for Onesignal would be appreciated.

Thank you