Skip to content

Commit 8147f93

Browse files
committed
2.1.2 Release commit - Android fixes
* Updated to latest 3.5.7 OneSignal Android SDK. * Fixed compatibility with cordova-plugin-google-analytics by using latest + versions of gms dependencies.
1 parent f853af9 commit 8147f93

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.1.1",
2+
"version": "2.1.2",
33
"name": "onesignal-cordova-plugin",
44
"cordova_name": "OneSignal Push Notifications",
55
"description": "OneSignal is a high volume Push Notification service for mobile apps. In addition to basic notification delivery, OneSignal also provides tools to localize, target, schedule, and automate notifications that you send.",

plugin.xml

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="onesignal-cordova-plugin"
5-
version="2.1.1">
5+
version="2.1.2">
66

77

88
<name>OneSignal Push Notifications</name>
@@ -27,9 +27,13 @@
2727
</engines>
2828

2929
<platform name="android">
30-
<framework src="com.onesignal:OneSignal:3.5.6" />
30+
<framework src="com.onesignal:OneSignal:3.5.7" />
3131
<framework src="build-extras-onesignal.gradle" custom="true" type="gradleReference" />
3232

33+
<!-- Overrides com.onesignal:OneSignal dependencies to avoid GMS version conflicts with other plugins as most rely on + as well. -->
34+
<framework src="com.google.android.gms:play-services-gcm:+" />
35+
<framework src="com.google.android.gms:play-services-location:+" />
36+
3337
<config-file target="res/xml/config.xml" parent="/*">
3438
<feature name="OneSignalPush" >
3539
<param name="android-package" value="com.plugin.gcm.OneSignalPush" />

0 commit comments

Comments
 (0)