Skip to content

Feature request : Ability to prefill the chat message #39

Description

@manutheblacker

Hello Crisp team,

The web SDK supports pre-filling the chat input via:

window.$crisp.push(["set", "message:text", ["Hello!"]]);

Is there a plan to expose an equivalent in the React Native SDK? The underlying native SDKs already support it:

  • iOS: CrispSDK.setMessage("your text")
  • Android: Crisp.message().setMessageDraft("your text")

But neither is currently bridged in the Expo module. A setMessage method would allow pre-filling the user's input field before opening the chat, which is a common use case when triggering the widget from a specific context in the app.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions