Configure Universal Checkout using this method. Based on the use case, set different settings that can be passed to Universal Checkout. Please refer to the section below for more information.

TS
import { Primer, PrimerSettings } from "@primer-io/react-native";

// ...

const onUniversalCheckoutButtonTapped = async () => {
  const settings: PrimerSettings = {
    /* options */
  };

  await Primer.configure(settings);
};

Parameters