Optional ReadonlybkOptional ReadonlyclientOptional ReadonlyclientExplicit client_input_params key order. When supplied, the merged
clientInputParams are re-emitted in this order (keys present in the
object; any unlisted keys keep their relative position at the end). Android
uses it to match the captured 448 order without changing the shared base
or the iOS output.
Optional ReadonlycontextOptional ReadonlyfriendlyOptional ReadonlyheadersOptional ReadonlyparamsOptional ReadonlyserverOptional ReadonlyserverExplicit server_params key order. When supplied, the merged
serverParams are re-emitted in this order (keys present in the object;
any unlisted keys keep their relative position at the end), matching the
Android 448 capture without changing the shared base or the iOS output.
Optional Readonlytwo2FA challenge handling. methodPicker defaults to true (the iOS
behavior: fetch the entrypoint screen and then the method-picker screen).
Set methodPicker: false on platforms where the app goes straight to a
trusted-notification poll and never requests the picker.
Optional ReadonlycloudTrustToken?: string | nullAndroid sends cloud_trust_token: null on the entrypoint request.
Optional Readonlycontext?: RequestContextOptional ReadonlymethodPicker?: booleanOptional Readonlyurl?: stringOptional Readonlyurl
Platform-specific overlays merged over the shared bloks login form.
Shape of the real form is (roughly) identical on Android and iOS, but three sections carry platform-specific values:
serverParams— experiment / surface flags (offline_experiment_group,layered_homepage_experiment_group,reg_flow_source,left_nav_button_action, …)clientInputParams— platform permissions/state (sim_phones,device_emails,flash_call_permission_statuson Android;zero_balance_stateon iOS; differentgms_incoming_call_retriever_eligibilityvalues on each platform)bkClientContext— full value of thebk_client_contextform field, defaults to{ styles_id: 'instagram' }when not suppliedEach platform package (
@igpapi/ios,@igpapi/android) wraps this baseLoginwith its own fixed overrides.