I'm documenting this in case anybody needs this in the future. PRs are very welcome!
When building for native targets, our Storage class currently stores user data (the auth token) in the current folder, which can lead to file permission issues.
Chris from OpenFL (@Dimensionscape) has pointed the right direction on how OpenFL solved this (thank you Chris!), by using the user's path:
I'm documenting this in case anybody needs this in the future. PRs are very welcome!
When building for native targets, our
Storage
class currently stores user data (the auth token) in the current folder, which can lead to file permission issues.Chris from OpenFL (@Dimensionscape) has pointed the right direction on how OpenFL solved this (thank you Chris!), by using the user's path: