@@ -124,30 +124,30 @@ class OneSignal {
124
124
125
125
/// The in app message will display handler is called whenever the in app message
126
126
/// is about to be displayed
127
- void setOnWillDisplayInAppMessageHandler (OnWillDisplayInAppMessageHandler handler) {
127
+ void setOnWillDisplayInAppMessageHandler (
128
+ OnWillDisplayInAppMessageHandler handler) {
128
129
_onWillDisplayInAppMessageHandler = handler;
129
- _channel.invokeMethod ("OneSignal#onWillDisplayInAppMessageHandlerParams" );
130
130
}
131
131
132
132
/// The in app message did display handler is called whenever the in app message
133
133
/// is displayed
134
- void setOnDidDisplayInAppMessageHandler (OnDidDisplayInAppMessageHandler handler) {
134
+ void setOnDidDisplayInAppMessageHandler (
135
+ OnDidDisplayInAppMessageHandler handler) {
135
136
_onDidDisplayInAppMessageHandler = handler;
136
- _channel.invokeMethod ("OneSignal#onDidDisplayInAppMessageHandlerParams" );
137
137
}
138
138
139
139
/// The in app message will dismiss handler is called whenever the in app message
140
140
/// is about to be dismissed
141
- void setOnWillDismissInAppMessageHandler (OnWillDismissInAppMessageHandler handler) {
141
+ void setOnWillDismissInAppMessageHandler (
142
+ OnWillDismissInAppMessageHandler handler) {
142
143
_onWillDismissInAppMessageHandler = handler;
143
- _channel.invokeMethod ("OneSignal#onWillDismissInAppMessageHandlerParams" );
144
144
}
145
145
146
146
/// The in app message did dismiss handler is called whenever the in app message
147
147
/// is dismissed
148
- void setOnDidDismissInAppMessageHandler (OnDidDismissInAppMessageHandler handler) {
148
+ void setOnDidDismissInAppMessageHandler (
149
+ OnDidDismissInAppMessageHandler handler) {
149
150
_onDidDismissInAppMessageHandler = handler;
150
- _channel.invokeMethod ("OneSignal#onDidDismissInAppMessageHandlerParams" );
151
151
}
152
152
153
153
/// The notification foreground handler is called whenever a notification arrives
0 commit comments