Allow usage of analytics adapter (#2327)

* Allow usage of analytics adapter

* Use promises in controller
This commit is contained in:
Marek Mikołajczyk
2016-07-20 15:27:15 +02:00
committed by Florent Vilmart
parent 02edf27f05
commit d1a6caeee3
5 changed files with 57 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
export class AnalyticsAdapter {
appOpened(parameters, req) {
return Promise.resolve({});
}
trackEvent(eventName, parameters, req) {
return Promise.resolve({});
}
}
export default AnalyticsAdapter;