I'm trying to use automation to display an in-app message based on an event. I notice that if the application is in the foreground when the in-app message is received, it will not be displayed until the app has been sent to the background and then restored to the foreground. Since I'd like the in-app message to be shown immediately on the device, it seems like a good place to use:
UAirship.inAppMessaging().displayASAPEnabled = true
I don't see this method available in the Cordova/PhoneGap plugin documentation. Is this property not available? Is there another way to accomplish my goal here?