MA
Size: a a a
MA
СА
АС
СА
S
MA
АР
RV
RV
ID
PopUpViewContoller
и там отображается лоадер. Но по какой-то причине (я подозреваю, что тут есть какие-то тонкости отображения FlutterView) после завершения запроса с инициализацией на сервер Тиньки не отрабатывает колбек changeStatus
:DispatchQueue.main.async {поскольку тут уже в теле колбека
self?.acquiringPaymentView?.changedStatus(.ready)
}
self?.acquiringPaymentView= nilЕсли сильно сократить стек вызовов, то выглядит цепочка примерно следующим образом:
sdk.presentPaymentView(on: UIApplication.shared.delegate!.window!!.rootViewController!,далее уже в самом SKD:
paymentData: PaymentInitData.init(amount: NSDecimalNumber.init(value: 2000), orderId: Int64(arc4random()), customerKey: StageTestData.customerKey),
self.presentingViewController = presentingViewController...
let modalViewController = AcquiringPaymentViewController(nibName: "AcquiringPaymentViewController", bundle: Bundle(for: AcquiringPaymentViewController.self))...
acquiringPaymentView = modalViewController...
// presentПолучается в какой-то момент времени
let presentationController = PullUpPresentationController(presentedViewController: modalViewController, presenting: presentingViewController)
modalViewController.transitioningDelegate = presentationController
presentingViewController.present(modalViewController, animated: true, completion: {
_ = presentationController
onPresenting(modalViewController)
})
acquiringPaymentViewcтановится nil.
ID
★ᵃ
AS
АР
r
Execution failed for task ':flutter_appcenter_bundle:compileDebugKotlin'.
> Could not resolve all artifacts for configuration ':flutter_appcenter_bundle:debugCompileClasspath'.
> Failed to transform file 'flutter.jar' to match attributes {artifactType=android-classes, org.gradle.usage=java-runtime-jars}
> Execution failed for JetifyTransform: /Users/rgrunin/development/flutter/bin/cache/artifacts/engine/android-x64/flutter.jar.
> Failed to transform '/Users/rgrunin/development/flutter/bin/cache/artifacts/engine/android-x64/flutter.jar' using Jetifier. Reason: Cannot open a library at 'FileMapping(from=/Users/rgrunin/development/flutter/bin/cache/artifacts/engine/android-x64/flutter.jar, to=/Users/rgrunin/.gradle/caches/transforms-2/files-2.1/1430240bc373c326f867eb6920f41001/jetified-flutter.jar)'. (Run with --stacktrace for more details.)
★ᵃ
AT