javascriptappboybraze

Appboy initialize handler


I am using the appboy web sdk. How do I know when app boy is initialized and ready for calling functions on it? Is there a function to know when appboy is ready. Also is the initialize and open session is functions that synchronous?


Solution

  • An easy way to tell if the Appboy Web SDK has been successfully initialized is to call change user function. If Appboy was initialized correctly, you will be able to pull up a user profile within Braze's dashboard that matches the userID string passed into the changeUser function.

    If you want more details, check out Braze's documentation about integrating their Web SDK.

    Hope this helps.