mocking In-App Messaging execution
fumito-ito opened this issue · comments
Fumito Ito commented
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.
Fumito Ito commented
use SwiftyInAppMessaging().displayMessage(_ messageForDisplay:displayDelegate:)
instead.