Skip to main content
Front Developer
Fronteer
Dec 15, 2022 12:13 AM UTC
Solved

Last message user was on - Front plugin

Can we find which inbox/mailbox/folder the user is in at any given time via the Plugin SDK?

This is then used so that when the user later returns to the inbox we can return them to the last message they were on in that particular mailbox.

Javier - Developer Relations
Community Manager
Dec 15, 2022 12:16 AM UTC

Hi,

You can use the fetchPath function (which will return the path of the user) in combination with the openUrl function, to note the path of a user at a current time and then return them to that path within the inbox at a later time.

Javier - Front Developer Relations

1 reply

Javier - Developer Relations
Community Manager
Dec 15, 2022 12:16 AM UTC

Hi,

You can use the fetchPath function (which will return the path of the user) in combination with the openUrl function, to note the path of a user at a current time and then return them to that path within the inbox at a later time.

Javier - Front Developer Relations