Skip to content

Conversation

@sergeysozinov
Copy link
Collaborator

payload = payload,
shouldDismiss = shouldDismiss()
shouldDismiss = shouldDismiss(),
shouldCallRequestPermission = true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

мне не очень нравится, что InAppActionResult универсальынй, а у него какое-то действие RequestPermission, которое не для всех инапов.
Я до добавил что нибудь универсальное, типо колбека onCompleted: () -> Unit и туда поместил mindboxView?.requestPermission()
Так будет универсальнее

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

мы хотим использовать колбэки не для асинхронного кода? помню у меня было замечания от тебя или Роберта по поводу использования колбэков для синхронного кода
А в целом мне так тоже больше нравится

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не вижу проблем.

@sergeysozinov sergeysozinov merged commit a9b704b into develop Apr 19, 2024
@sergeysozinov sergeysozinov deleted the feature/MBX-3181 branch April 19, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants