Yes, there's a preventFetch option in flagsmith.init for this exact usecase. Then you can call identify/getFlags whenever you want.

This option makes possible to separate the initialization, like in the Node.js API. In other words, initialize without getting flags and then get flags later.
Was this article helpful?
Thank you!