Application Settings
Application Settings feature — retrieve app-level settings and membership status.
This interface provides operations to:
Fetch ActiveFit application configuration values.
Check whether the member’s membership is active.
Generate invitation messages to invite colleagues.
Read and update the member’s mobile setup (onboarding) state.
List the gender options the member’s organization offers.
Platform & threading
All functions are
suspendand must be called from a coroutine.Errors surface as
Throwableand should be handled at call sites.
Typical flows
Settings are synced automatically during SDK initialization. You can also call getActiveFitSettings at any time to retrieve the current configuration or force a refresh from the server.
Access control: call isMembershipActive to gate premium features.
Referrals: call generateInviteColleagueInvitation to prefill a share sheet.
Profile editing: call getGenderProfiles to fill the gender picker.
Functions
Generates an invitation message for inviting a colleague.
Retrieves the ActiveFit application settings.
Retrieves the gender options a member of the caller's organization may pick.
Retrieves the member’s mobile setup (onboarding) state from the backend.
Checks if the user’s membership is active.
Updates the member’s mobile setup (onboarding) state on the backend.