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.Note Initial setup is optional.
PayPalCommerce-Config.plist
| Key | Values | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skip_initial_onboarding | NO: 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_fontthin_fontlight_fontmedium_fontbold_font | ||||||||||||||||||
enable_barcode_scanning | boolean 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.
|
PayPalCommerce-Assets.xcassets
These will be overridden by what you set in the PayPal Commerce Panel.
login_background | Used in the onboarding login prompt screen. Required size: 320x568 and 640x1136 |
logo_header | Used in the navigation bar on the main products list. Suggested size: 167x30 and 328x60 |