Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Updated new version
Browse files Browse the repository at this point in the history
  • Loading branch information
trinisofttechnologies committed Mar 14, 2020
1 parent 03c120b commit aa92f88
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Countly.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="countly-sdk-js" version="19.8.2">
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="countly-sdk-js" version="19.9.2">

<name>Countly</name>

Expand Down Expand Up @@ -72,7 +72,7 @@

<source-file src="src/android/CountlyCordova.java" target-dir="src/ly/count/android/sdk"/>
<source-file src="src/android/CountlyNative.java" target-dir="src/ly/count/android/sdk"/>
<framework src="ly.count.android:sdk:19.02.3" />
<framework src="ly.count.android:sdk:19.09.2" />

<!-- Push notification -->
<config-file target="AndroidManifest.xml" parent="/manifest/application">
Expand All @@ -83,7 +83,7 @@
</service>
</config-file>
<dependency id="cordova-support-google-services" version="~1.3.1"/>
<framework src="ly.count.android:sdk-messaging-fcm:19.02.3" />
<!-- <framework src="ly.count.android:sdk-messaging-fcm:19.02.3" /> -->
<framework src="com.google.firebase:firebase-messaging:20.0.0" />
<source-file src="src/android/CountlyMessagingService.java" target-dir="src/ly/count/android/sdk"/>
</platform>
Expand Down
2 changes: 1 addition & 1 deletion src/android/CountlyMessagingService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit aa92f88

Please sign in to comment.