Getting started with OneEntry
The OneEntry native sdk supports working with Kotlin Multiplatform and Apple's naive targets.
Kotlin Multiplatform
Initialization
To initially add the OneEntry Native SDK to a Kotlin Multiplatform project,
you need to include the sdk-core
module in your build.gradle.kts
file:
Then, add other modules of the SDK as needed.
For example, to retrieve a list of products, you will need the sdk-catalog
module.
Supported Targets
Android
iOS
X64
Arm64
SimulatorArm64
macOS
X64
Arm64
watchOS
X64
Arm32
Arm64
SimulatorArm64
tvOS
X64
Arm64
SimulatorArm64
Supported modules
sdk-core
sdk-auth
sdk-forms
sdk-pages
sdk-blocks
sdk-menus
sdk-orders
sdk-events
sdk-admins
sdk-system
sdk-locales
sdk-catalog
sdk-storage
sdk-payments
sdk-templates
sdk-attributes
sdk-general-types
sdk-product-statuses
sdk-attributes-sets
Swift
To initially add the OneEntry Native SDK to a Swift project,
you need to add the dependency in Package.swift
or in the Xcode project using the link.