introduce concept of platform name, based on class name, because webpack.

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-05-29 19:50:04 +01:00
parent b9457a0681
commit d484372c7f
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ export default class BasePlatform {
this.errorDidOccur = false; this.errorDidOccur = false;
} }
// Used primarily for Analytics
getHumanReadableName() {
return 'Base Platform';
}
setNotificationCount(count: number) { setNotificationCount(count: number) {
this.notificationCount = count; this.notificationCount = count;
} }