ping-identity
    Preparing search index...

    Function configurePushStorage

    • Registers and resolves a push MFA storage handle.

      This function handles registration internally and returns a normalized storage configuration that can be passed to createPushClient({ storage }).

      Parameters

      • config: BaseStorageConfig

        Storage configuration parameters with platform-specific options

      • Optionaloptions: StorageLoggerOptions

        Optional logger configuration

      Returns any

      A branded PushStorage handle with native storage id metadata

      If the configuration is missing or invalid

      import { configurePushStorage } from '@ping-identity/rn-storage';

      const pushStorage = configurePushStorage({
      android: {
      keyAlias: 'push_key'
      }
      });

      // Pass to push client
      // createPushClient({ storage: pushStorage });

      TODO: Analyze implications of turning storage operations async to better handle errors from native bridge calls.