Virtual Fitness
Virtual Fitness feature — connect with partner digital fitness platforms.
AFCore integrates with external virtual fitness providers like NEOU and Lifetime Digital. When registered, activities (e.g., completed workouts or watched videos) sync and count toward the member’s goals in Advanta.
⚠️ Important
Both NEOU and Lifetime Digital require the member to have the program entitlement enabled.
Members must create an account / sign in on the partner’s app or website using the Advanta partnership (e.g., promo code or partnership link).
Registration flow: send the member to the partner site/app → after returning via your redirect/callback, call the corresponding
register*Profile()method to confirm the account is linked (authentication + registration confirmed).Disconnect flow:
disconnect*Profile()signs the member out of the partnership if they opt out.
Typical flows
Onboarding: check entitlement → drive partner sign-up → on redirect back, call register method.
Sync: activities are automatically imported from the partner platforms after linking.
Opt-out: call the appropriate disconnect method to unlink the partner account.
Platform & threading
All functions are
suspendand must be called from a coroutine.Errors surface as
Throwableand should be handled at call sites.
Functions
Disconnects the member’s Lifetime Digital profile.
Disconnects the member’s NEOU profile.
Retrieves Lifetime Digital sign-up details, including the partnership URL and promo code.
Retrieves NEOU sign-up details, including the partnership URL.
Checks if the member is registered with Lifetime Digital.
Checks if the member is registered with NEOU.
Registers the member’s profile with Lifetime Digital after partner sign-up.
Registers the member’s profile with NEOU after partner sign-up.