shouldPresent property

WillPresentHandler? shouldPresent
getter/setter pair

Handler that returns true/false to decide if push alert should be displayed when in foreground. Returning true will delay onMessage callback until user actually clicks on it

Implementation

WillPresentHandler? shouldPresent;