Skip to content

Commit

Permalink
Merge pull request #114 from intercom/conor/bump
Browse files Browse the repository at this point in the history
Update to latest Messenger versions on iOS and Android
  • Loading branch information
ronocod authored Nov 7, 2016
2 parents 929071c + 612540c commit 6b29494
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Intercom for Cordova/PhoneGap

## 3.0.16 (2016-11-07)

* Updated Intercom for Android to [3.0.11](https://github.com/intercom/intercom-android/releases/tag/3.0.11).
* Updated Intercom for iOS to [3.0.18](https://github.com/intercom/intercom-ios/releases/tag/3.0.18).

## 3.0.15 (2016-10-19)

* Updated Intercom for iOS to [3.0.17](https://github.com/intercom/intercom-ios/releases/tag/3.0.17).
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="~3.0.15" />
<plugin name="cordova-plugin-intercom" version="~3.0.16" />
```
## Example App

Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
override:
- npm install -g cordova
- if [ ! -e $ANDROID_HOME/platforms/android-24 ]; then echo y | android update sdk --no-ui --all --filter android-24; fi
- if [ ! -e $ANDROID_HOME/extras/android/m2repository/com/android/support/design/24.2.1 ]; then echo y | android update sdk --no-ui --all --filter extra-android-m2repository; fi
- if [ ! -e $ANDROID_HOME/extras/android/m2repository/com/android/support/design/25.0.0 ]; then echo y | android update sdk --no-ui --all --filter extra-android-m2repository; fi
- if [ ! -e $ANDROID_HOME/extras/google/m2repository/com/google/firebase/firebase-messaging/9.8.0 ]; then echo y | android update sdk --no-ui --all --filter extra-google-m2repository; fi

cache_directories:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-intercom",
"version": "3.0.15",
"version": "3.0.16",
"description": "Official Cordova/PhoneGap plugin for Intercom",
"cordova": {
"id": "cordova-plugin-intercom",
Expand Down
2 changes: 1 addition & 1 deletion 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="3.0.15" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<plugin id="cordova-plugin-intercom" version="3.0.16" 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
1 change: 1 addition & 0 deletions src/android/CordovaHeaderInterceptor.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package io.intercom.android.sdk.api;

import android.content.Context;

public class CordovaHeaderInterceptor {
Expand Down
2 changes: 1 addition & 1 deletion src/android/IntercomBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void setUpIntercom() {
try {
Context context = IntercomBridge.this.cordova.getActivity().getApplicationContext();

CordovaHeaderInterceptor.setCordovaVersion(context, "3.0.15");
CordovaHeaderInterceptor.setCordovaVersion(context, "3.0.16");

switch (IntercomPushManager.getInstalledModuleType()) {
case GCM: {
Expand Down
2 changes: 1 addition & 1 deletion src/android/build-extras-intercom.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
//
// @link https://issues.apache.org/jira/browse/CB-10014
def manifest = new XmlSlurper().parse(file("AndroidManifest.xml"))
android.defaultConfig.applicationId manifest.@package.text()
android.defaultConfig.applicationId manifest.@package.text()
9 changes: 4 additions & 5 deletions src/android/intercom.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
repositories {
maven {
url 'https://dl.bintray.com/intercom/intercom-maven'
}
jcenter()
}

dependencies {
compile 'io.intercom.android:intercom-sdk:3.0.10'
}
compile 'io.intercom.android:intercom-sdk:3.0.11'
}
4 changes: 2 additions & 2 deletions src/ios/Intercom.framework/Versions/A/Headers/Intercom.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// Intercom.h
// Intercom for iOS - Version 3.0.17
// Intercom for iOS - Version 3.0.18
//
// Created by Intercom on 8/01/2015.
// Copyright (c) 2014 Intercom. All rights reserved.
Expand All @@ -10,7 +10,7 @@
#import <UIKit/UIKit.h>

#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_8_0
#error This version (3.0.17) of Intercom for iOS supports iOS 8.0 upwards.
#error This version (3.0.18) of Intercom for iOS supports iOS 8.0 upwards.
#endif

NS_ASSUME_NONNULL_BEGIN
Expand Down
Binary file modified src/ios/Intercom.framework/Versions/A/Intercom
Binary file not shown.
2 changes: 1 addition & 1 deletion 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:@"3.0.15"];
[Intercom setCordovaVersion:@"3.0.16"];
#ifdef DEBUG
[Intercom enableLogging];
#endif
Expand Down

0 comments on commit 6b29494

Please sign in to comment.