Skip to content

Commit

Permalink
Merge pull request #247 from intercom/conor/release-5.0.2
Browse files Browse the repository at this point in the history
Bump version to 5.0.2
  • Loading branch information
ronocod authored Feb 13, 2018
2 parents 49d684b + 359e3af commit 3e0e2d4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Intercom for Cordova/PhoneGap

## 5.0.2 (2018-02-12)

* Fix issue with Intercom pod not being updated / installed when GitHub response was not 200 OK: [#246](https://github.com/intercom/intercom-cordova/pull/246)

## 5.0.1 (2018-01-23)

* 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).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cordova plugin add cordova-plugin-intercom

To add the plugin to your PhoneGap app, add the following to your `config.xml`:
```xml
<plugin name="cordova-plugin-intercom" version="~5.0.1" />
<plugin name="cordova-plugin-intercom" version="~5.0.2" />
```
### Ionic

Expand Down
2 changes: 1 addition & 1 deletion intercom-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-intercom",
"version": "5.0.1",
"version": "5.0.2",
"description": "Official Cordova/PhoneGap plugin for Intercom",
"cordova": {
"id": "cordova-plugin-intercom",
Expand Down
2 changes: 1 addition & 1 deletion intercom-plugin/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<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">
<plugin id="cordova-plugin-intercom" version="5.0.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Intercom</name>
<author>Intercom</author>
<license>MIT License</license>
Expand Down
2 changes: 1 addition & 1 deletion intercom-plugin/src/android/IntercomBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private void setUpIntercom() {
try {
Context context = IntercomBridge.this.cordova.getActivity().getApplicationContext();

CordovaHeaderInterceptor.setCordovaVersion(context, "5.0.1");
CordovaHeaderInterceptor.setCordovaVersion(context, "5.0.2");

switch (IntercomPushManager.getInstalledModuleType()) {
case GCM: {
Expand Down
2 changes: 1 addition & 1 deletion intercom-plugin/src/ios/IntercomBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ + (void)setCordovaVersion:(NSString *)v;
@implementation IntercomBridge : CDVPlugin

- (void)pluginInitialize {
[Intercom setCordovaVersion:@"5.0.1"];
[Intercom setCordovaVersion:@"5.0.2"];
#ifdef DEBUG
[Intercom enableLogging];
#endif
Expand Down

0 comments on commit 3e0e2d4

Please sign in to comment.