Application Settings
interface ApplicationSettings
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.
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.