You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When triggering an Open URL action, there's a preventable openUrl event that allows integration code to handle it, instead of using window.location directly. (#118)
What's fixed:
Lifetime occurrences were not counted correctly when starting new sessions. (#119)
In-App Messages: subscribe to the showMessage event for custom rendering of in-app messages.
See the Web In-App messages help topic for more information.
getFileUrl method that resolves a filename to link to the downloadFile API.
on and off methods for subscribing to events
getUserId method for getting the ID of the current user
What's fixed:
JS error when the development socket closes due to an error (#95)
App Inbox support (API for getting data, Open URL function, action tracking)
API end-point has changed to the officially documented one, api.leanplum.com/api
New method: useSessionLength(seconds: number) that allows calls to start() to reuse a recent session
New method: setWebPushOptions({ serviceWorkerUrl: string, scope: string }) to allow calling registerForWebPush() without arguments and scoping the service worker to a specific path