Swiftpack.co - mmob-tech/mmob-client-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by mmob-tech.
mmob-tech/mmob-client-ios 0.3.0
MMOB iOS Snippet
⭐️ 0
🕓 1 week ago
.package(url: "https://github.com/mmob-tech/mmob-client-ios.git", from: "0.3.0")


Since version 0.3.0, the MmobClient has been secured to only allow views owned by mmob or its distributors. The implementation has suffered some breaking changes.

To declare a new mmob client, follow the example below:

//  MarketplaceView.swift
//  EfHubIOs14

import SwiftUI
import MmobClient

struct MarketplaceView: UIViewRepresentable {
    let client = MmobClient()
    func updateUIView(_ uiView: MmobClientView, context: Context) {
        print("update UI")


    func makeUIView(context: Context) -> MmobClientView  {

        let configuration = MmobConfiguration(
            configuration: MmobCompanyConfiguration(
                cp_id: "cp_id",
                integration_id: "cpd_id",
                environment: "stag"

            customer: MmobCustomerInfo(
                email: "[email protected]",
                first_name: "John",
                surname: "Smith",
                title: "Mr",
                building_number: "Flat 81",
                address_1: "Marconi Square",
                town_city: "Chelmsford",
                postcode: "CM1 1XX"

        return client.getClient(mmobConfiguration: configuration, instanceDomain:"ef-network.com")



Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1 week ago

What's Changed

New Contributors

Full Changelog: https://github.com/mmob-tech/mmob-client-ios/compare/0.2.13...0.3.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics