Troubleshooting
Check Flutter SDK is loaded correctly
You can use the PluginScreeb.debug()
command in your code.
You will get contextual information in the debugging log about the running user session:
Debug targeting rules
Since the targeting engine built by Screeb runs in the background, you may not understand which rules prevent your survey from being displayed to a user.
You can use the PluginScreeb.debugTargeting()
command in your code.
You will get a list of available surveys and the associated targeting rules:
The rules with a green dot 🟢 are the ones that have been validated for this user. The rules with a red dot 🔴 are not validated and may be the reason why your survey is not displayed.
Warning iOS
You won't see debug log on iOS if you didn't launch your app with xcode