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
App initialization: call getActiveFitSettings to configure URLs, defaults, and branding.
Access control: call isMembershipActive to gate premium features.
Referrals: call generateInviteColleagueInvitation to prefill a share sheet.