Initial Theming and Configuration

Most of these values will be overridden by what you have set up in the Theming section of the PayPal Commerce Panel, but by including the PayPalCommerce-Config.plist and PayPalCommerce-Assets.xcassets, you can include an initial setup.

PayPalCommerce-Config.plistAnchorIcon

KeyValues
skip_initial_onboardingNO: The store will initially present an onboarding flow including: login, name, email, shipping address, and billing info. The user will still be allowed to skip this and go directly to your store.
`YES`: The store will skip initial onboarding and present the products list immediately. If a user tries to purchase something without having fully onboarded, they will complete onboarding at that point.
font A dictionary of font names based on weight (default is system font).
regular_font
thin_font
light_font
medium_font
bold_font
enable_barcode_scanningboolean that allows the app to scan barcodes and QR codes.
colors A dictionary of colors we use in the app. Colors are denoted as hex values (e.g. #0FA0FA). They will be dynamically updated based on the settings in your theme in the PayPal Commerce Panel.
primary_button_colorOnboarding button background, "continue shopping" buttons.
accent_color Used in product detail, variant selection, receipts, etc as a way to highlight certain elements.
buy_button_colorBuy button backgound color.
header_background_colorNavigation bar background color.
header_action_colorThe color of the buttons in the navigation bar.
category_background_colorThe background color of the category selection bar.
banner_colorThe background color of the header banner in the receipt.
modal_colorThe background color of the sidebar menu, as well as modal overlays.
checkmark_colorThe checkmark color across the app.

PayPalCommerce-Assets.xcassetsAnchorIcon

These will be overridden by what you set in the PayPal Commerce Panel.
login_backgroundUsed in the onboarding login prompt screen. Required size: 320x568 and 640x1136
logo_headerUsed in the navigation bar on the main products list. Suggested size: 167x30 and 328x60