Skip to content

Conversation

@ivan-magda
Copy link
Member

Задача: #APPS-2035

Описание:
Добавили отправку событий в Амплитуду.
Событие об отправке решения отправляется в QuizPresenter

@ivan-magda ivan-magda added this to the 1.68 milestone Sep 18, 2018
@ivan-magda ivan-magda self-assigned this Sep 18, 2018

struct ConfigureAnalyticsCommand: Command {
func execute() {
Amplitude.instance().initializeApiKey(Tokens.shared.amplitudeToken)
Copy link
Member Author

Choose a reason for hiding this comment

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

Наверное лучше убрать в ConfigureThirdPartiesCommand.swift

Copy link
Contributor

Choose a reason for hiding this comment

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

Если честно, не очень понимаю, для чего нужен еще один слой абстракции в виде Command

Copy link
Contributor

Choose a reason for hiding this comment

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

Это имело бы смысл, если бы нам надо было как-то персистентно сохранять команду, в противном случае все делается без этого или внутри сервиса

Copy link
Contributor

Choose a reason for hiding this comment

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

@kvld поправь, если я не прав

Copy link
Member Author

Choose a reason for hiding this comment

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

@Ostrenkiy знаешь, как это бывает: начитаешься всяких статей и тянешь потом, тянешь за собой )

Copy link
Contributor

Choose a reason for hiding this comment

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

Ну короче как выпилишь можно вмердживать, все события приходят

Copy link
Member Author

Choose a reason for hiding this comment

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

@Ostrenkiy выпилил, теперь всё по православному 😄

@kvld
Copy link
Contributor

kvld commented Sep 18, 2018

Я, видимо, не застал ничего уже. Поэтому ок всё

@ivan-magda ivan-magda merged commit d8be396 into dev Sep 18, 2018
@ivan-magda ivan-magda deleted the feature/exam-analytics branch September 18, 2018 18:29
@kvld kvld mentioned this pull request Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants