Giter Club home page Giter Club logo

Comments (9)

vladlenskiy avatar vladlenskiy commented on July 26, 2024

+1

from yookassa-payments-swift.

vladlenskiy avatar vladlenskiy commented on July 26, 2024

@ialeshqa нашел какой-нибудь способ для решения проблемы?

from yookassa-payments-swift.

ialeshqa avatar ialeshqa commented on July 26, 2024

@ialeshqa нашел какой-нибудь способ для решения проблемы?

поддержка посоветовала обновить библиотеку, не проверяли еще этот способ

from yookassa-payments-swift.

alex-snap avatar alex-snap commented on July 26, 2024

+1

+1

from yookassa-payments-swift.

vladlenskiy avatar vladlenskiy commented on July 26, 2024

@ialeshqa а какая у вас версия SDK кассы установлена? Просто мы используем 6.0.0 и вот думаю поможет ли обновление до новой версии)

from yookassa-payments-swift.

Liptor avatar Liptor commented on July 26, 2024

@VladlenKaveev удалось решить проблему? у нас обновление библиотеки до версии 6.4.0 не сработало, как и то что советовали в поддержке

from yookassa-payments-swift.

vladlenskiy avatar vladlenskiy commented on July 26, 2024

@Liptor пока нет 😕

from yookassa-payments-swift.

vladlenskiy avatar vladlenskiy commented on July 26, 2024

@Liptor @ialeshqa
Посмотрев аналогичные проблемы у других, все-таки удалось заставить модуль работать на iOS 15.1)

Было:
let inputData: TokenizationFlow = .tokenization(tokenizationModuleInputData)
viewController = TokenizationAssembly.makeModule(inputData: inputData, moduleOutput: self)
DispatchQueue.main.async {
let rootViewController = UIApplication.shared.keyWindow!.rootViewController! rootViewController.present(self.viewController!, animated: true, completion: nil)
}

Стало:
DispatchQueue.main.async {
let inputData: TokenizationFlow = .tokenization(tokenizationModuleInputData)
self.viewController = TokenizationAssembly.makeModule(inputData: inputData, moduleOutput: self)
let rootViewController = UIApplication.shared.keyWindow!.rootViewController! rootViewController.present(self.viewController!, animated: true, completion: nil)
}

P.S
Еще не тестировали на других версиях iOS

from yookassa-payments-swift.

starxor avatar starxor commented on July 26, 2024

Закрываю вопрос. Так как он не связан с библиотекой напрямую. Ошибка происходила из-за презентации UI со второстепенного потока.

from yookassa-payments-swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.