Detect if client is in staging or published mode

How can I detect if a client is running in published or staging mode?

Thanks.

Unfortunately, there isn’t a way to detect that right now. I will add a request in to get that added.

Thanks.

Any news on this? It’s about to become rather urgent.

A Project.getProjectVersion() would be wonderful.

Thanks.

No news yet. We will post once we have more information.

Ok in 7.5.4, system.util.getSystemFlags() has a bit turned on for STAGING_FLAG, and for the SDK ClientContext now has a getProjectVersion() function.

Excellent. Thanks very much.