From d484372c7f42f78a7cbb4abfe5ca5f03d2255870 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 29 May 2017 19:50:04 +0100 Subject: [PATCH] introduce concept of platform name, based on class name, because webpack. Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/BasePlatform.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/BasePlatform.js b/src/BasePlatform.js index 6eed22f436..f7be7c5652 100644 --- a/src/BasePlatform.js +++ b/src/BasePlatform.js @@ -29,6 +29,11 @@ export default class BasePlatform { this.errorDidOccur = false; } + // Used primarily for Analytics + getHumanReadableName() { + return 'Base Platform'; + } + setNotificationCount(count: number) { this.notificationCount = count; }