Rovenue React Native SDK
    Preparing search index...

    Function useCurrentUser

    • Reactive current-user identity. Returns null until the first native currentUser() read completes (lazily primed on mount), then re-renders on every IDENTITY_CHANGED native event (e.g. after identify() or logOut()). Reads are synchronous off the local store after that first fetch — no network call on every render.

      Returns User | null