From aa92f88708c8f07fa78178a4dee6cf5508e43b31 Mon Sep 17 00:00:00 2001 From: Trinisoft Technologies Date: Sat, 14 Mar 2020 13:54:24 +0530 Subject: [PATCH] Updated new version --- Countly.js | 2 +- package.js | 2 +- package.json | 2 +- plugin.xml | 6 +++--- src/android/CountlyMessagingService.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Countly.js b/Countly.js index 3dffc4d..b30f6b4 100644 --- a/Countly.js +++ b/Countly.js @@ -2,7 +2,7 @@ Countly = {}; Countly.serverUrl = ""; Countly.appKey = ""; Countly.ready = false; -Countly.version = "19.8.2"; +Countly.version = "19.9.2"; var userAgent = navigator.userAgent || navigator.vendor || window.opera; if (/android/i.test(userAgent)) { Countly.isAndroid = true; diff --git a/package.js b/package.js index 746d7f2..bf6efa8 100644 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'countly:countly-sdk-js', - version: '19.8.2', // Meteor doesn't go with 18.08.1 + version: '19.9.2', // Meteor doesn't go with 18.08.1 summary: 'Countly is an innovative, real-time, open source mobile analytics and push notifications platform.', git: 'https://github.com/Countly/countly-sdk-js.git', documentation: 'README.md' diff --git a/package.json b/package.json index a2d58b5..e5752cf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "countly-sdk-js", "description": "Analytics.", - "version": "19.8.2", + "version": "19.9.2", "homepage": "https://github.com/Countly/countly-sdk-js#readme", "repository": { "type": "git", diff --git a/plugin.xml b/plugin.xml index 26dba02..5f873ea 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + Countly @@ -72,7 +72,7 @@ - + @@ -83,7 +83,7 @@ - + diff --git a/src/android/CountlyMessagingService.java b/src/android/CountlyMessagingService.java index 26b4272..25671e0 100644 --- a/src/android/CountlyMessagingService.java +++ b/src/android/CountlyMessagingService.java @@ -38,7 +38,7 @@ public void onMessageReceived(RemoteMessage remoteMessage) { notificationIntent = new Intent(getApplicationContext(), getApplication().getClass()); } - Boolean result = CountlyPush.displayMessage(getApplicationContext(), message, R.mipmap.ic_launcher, notificationIntent); + Boolean result = CountlyPush.displayMessage(getApplicationContext(), message, getApplicationContext().getApplicationInfo().icon, notificationIntent); if (result == null) { Log.i(TAG, "Message wasn't sent from Countly server, so it cannot be handled by Countly SDK"); } else if (result) {