In-App Messages

The OneSignal iOS and Android SDKs include an In-App Message feature that embeds a native UI with functionality supporting a range of use cases. Refer to the OneSignal documentation for more information on use-cases and sending in-app messages.

Within the GoNative OneSignal integration the following In-App Message SDK Methods are supported via the GoNative JavaScript Bridge:

↔️GoNative JavaScript Bridge

gonative.onesignal.iam.addTrigger({key: value});
gonative.onesignal.iam.addTriggers({key1: value1, key2: value2});
gonative.onesignal.iam.removeTriggerForKey(key);
gonative.onesignal.iam.getTriggerValueForKey(key);
gonative.onesignal.iam.pauseInAppMessages();
gonative.onesignal.iam.resumeInAppMessages();
gonative.onesignal.iam.setInAppMessageClickHander(function);

Next Steps