Troubleshooting
Check if the SDK is loaded correctly
import { ScreebModule, ScreebService } from "@screeb/sdk-angular";
constructor(private screeb: ScreebService) {}
await this.screeb.debug();
Debug targeting rules
await this.screeb.targetingDebug();
Common issues
- Module not found: Make sure
ScreebModule.forRoot()is imported before use. - No surveys showing: Verify your channel id and check targeting rules with
this.screeb.targetingDebug(). - Identity not set: Ensure
identity()is called after user login, not before.