Profile Flags
- Print
Profile Flags
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
Profile Flags are only necessary under specific circumstances. These are prescribed by Distribution Partners who may want to add flags that trigger specific user experiences based on distribution rights, etc.
For more information, reach out to your platform account manager from the distributors you’re working with.
You can access the user's profile flags as follows:
import { Profile } from '@firebolt-js/sdk'
const flags = Profile.flags().then( profileFlags => {
if (profileFlags['someFlag'] === 'someValue') {
// do something...
}
})
Was this article helpful?