OneEntry Platform 2.0.1 Help

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:

implementation("cloud.oneentry:sdk-core:<latest-sdk-version>")

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.

// swift-tools-version: 6.0 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "MyPackage", platforms: [ ... ], products: [ ... ], dependencies: [ .package(url: "https://github.com/ONEENTRY-PORTAL-CO/oneentry-ios-sdk.git", from: "2.0.0") ], targets: [ ... ] )
Last modified: 06 August 2025