Skip to content

Commit 9ba0070

Browse files
author
Skyler Shaw
authored
Merge pull request #241 from intercom/skylerwshaw/bump_5_0_1
Bump version to 5.0.1
2 parents 3b558d4 + 1b2677e commit 9ba0070

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Intercom for Cordova/PhoneGap
22

3+
## 5.0.1 (2018-01-23)
4+
5+
* Removes dependency on `PackageManager.GET_META_DATA`, which Cordova does not appear to generate any longer for new projects: [#239](https://github.com/intercom/intercom-cordova/issues/239).
6+
37
## 5.0.0 (2018-01-22)
48

59
* Supports `cordova-android` 7.0.0, the default Android build version when using `cordova-cli` 8.0.0, though it may also be specified on earlier versions (tested on [Cordova 7.1.0](https://github.com/apache/cordova-cli/releases/tag/7.1.0))
@@ -22,7 +26,7 @@ Update guide:
2226
2. Update `plugin-cordova-intercom`:
2327
```
2428
cordova plugin remove cordova-plugin-intercom
25-
cordova plugin add cordova-plugin-intercom@5.0.0
29+
cordova plugin add cordova-plugin-intercom
2630
```
2731
3. Ensure your config.xml specifies an android-minSdkVersion at or above 19:
2832
* `<preference name="android-minSdkVersion" value="19" />`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cordova plugin add cordova-plugin-intercom
1919

2020
To add the plugin to your PhoneGap app, add the following to your `config.xml`:
2121
```xml
22-
<plugin name="cordova-plugin-intercom" version="~5.0.0" />
22+
<plugin name="cordova-plugin-intercom" version="~5.0.1" />
2323
```
2424
### Ionic
2525

intercom-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-intercom",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"description": "Official Cordova/PhoneGap plugin for Intercom",
55
"cordova": {
66
"id": "cordova-plugin-intercom",

intercom-plugin/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<plugin id="cordova-plugin-intercom" version="5.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2+
<plugin id="cordova-plugin-intercom" version="5.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
33
<name>Intercom</name>
44
<author>Intercom</author>
55
<license>MIT License</license>

intercom-plugin/src/android/IntercomBridge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private void setUpIntercom() {
6868
try {
6969
Context context = IntercomBridge.this.cordova.getActivity().getApplicationContext();
7070

71-
CordovaHeaderInterceptor.setCordovaVersion(context, "5.0.0");
71+
CordovaHeaderInterceptor.setCordovaVersion(context, "5.0.1");
7272

7373
switch (IntercomPushManager.getInstalledModuleType()) {
7474
case GCM: {

intercom-plugin/src/ios/IntercomBridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ + (void)setCordovaVersion:(NSString *)v;
99
@implementation IntercomBridge : CDVPlugin
1010

1111
- (void)pluginInitialize {
12-
[Intercom setCordovaVersion:@"5.0.0"];
12+
[Intercom setCordovaVersion:@"5.0.1"];
1313
#ifdef DEBUG
1414
[Intercom enableLogging];
1515
#endif

0 commit comments

Comments
 (0)