fumito-ito / SwiftyInAppMessaging

The easiest way to use your customized view and InAppMessaging default view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mocking In-App Messaging execution

fumito-ito opened this issue · comments

Why

In-App Messaging test sending has a problem that appData is not sent correctly. firebase-ios-sdk has a patch for this problem, but the server-side support is not yet complete, so the problem is still not solved.

Therefore, SwiftyInAppMessaging adds a function to mock sending tests from the server side. This function will have an interface like executeTest(message:delegate) and is intended to facilitate debugging and testing in the local environment.

use SwiftyInAppMessaging().displayMessage(_ messageForDisplay:displayDelegate:) instead.