We've released LIFF v2.10.0.
In LIFF v2.10.0, these bugs have been fixed.
We fixed the bug that caused old context tokens to be referenced when initializing the LIFF app in external browsers
When users log in to a LIFF app using LIFF v2.9.1 or earlier in an
external browser
info info
infoinfoinfoi
nfoinfoin infoinfoinfoi
nfoinfoin
, old context tokens stored in the localStorage when the LIFF app is initialized (when liff.init() method is executed) in previous sessions are referenced, causing unexpected behaviors, but we fixed this bug.
What is a context token?
A context token holds information about the environment in which the LIFF app is launched,
such as screen size and user ID, which can be retrieved using the liff.getContext() method.
When your LIFF app is initialized (the liff.init() method is executed), it is stored as a
context key in the browser's localStorage.
There is no guarantee that the information obtained through the liff.getContext() method is up-to-date
A context token holds information about the environment in which the LIFF app is launched,
such as screen size and user ID, which can be retrieved using the liff.getContext() method.
When your LIFF app is initialized (the liff.init() method is executed), it is stored as a
context key in the browser's localStorage.