igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface MobileConfigStore

    The MobileConfig values a device keeps (mobile.mobile-config.ts): the sessionless unit, and the user unit of each account that signed in on the device, by account id — the app keeps an account's config across a logout.

    interface MobileConfigStore {
        accounts?: Record<string, MobileConfigUnitValues>;
        appVersion?: string;
        sessionless?: MobileConfigUnitValues;
    }
    Index

    Properties

    accounts?: Record<string, MobileConfigUnitValues>
    appVersion?: string

    The app version the values were kept under (MobileApplicationState.APP_VERSION, written by KeepMobileConfigAnswer). The keys and field numbers of the store are the writer build's wire facts, so a store kept under another version is dropped on restore (a restore is an app update, and the app re-reads its config on one): the restored device starts with no kept values, and every parameter reads the new build's default until its next answer. A store that records no version was written by no build of this library and is dropped the same way.