Skip to content

Commit 5bcef85

Browse files
committed
Update SDKs to 8.x for Android and 8.1.1 for iOS
1 parent ff75209 commit 5bcef85

File tree

7 files changed

+295
-11
lines changed

7 files changed

+295
-11
lines changed

intercom-bridge.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as application from 'application';
2-
import * as utils from 'utils/utils';
1+
import * as application from 'tns-core-modules/application';
2+
import * as utils from 'tns-core-modules/utils/utils';
33

44
declare let io: any;
55

package-lock.json

Lines changed: 284 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
"homepage": "https://github.com/aemr3/nativescript-intercom-bridge",
4343
"readmeFilename": "README.md",
4444
"devDependencies": {
45-
"tns-core-modules": "^2.5.1",
46-
"tns-platform-declarations": "^2.5.0",
47-
"typescript": "^2.1.0",
4845
"prompt": "^1.0.0",
49-
"rimraf": "^2.5.0"
46+
"rimraf": "^2.5.0",
47+
"tns-core-modules": "^6.0.0",
48+
"tns-platform-declarations": "^6.0.0",
49+
"typescript": "^3.5.3"
5050
}
5151
}

platforms/android/include.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ android {
88
}
99

1010
dependencies {
11-
compile 'io.intercom.android:intercom-sdk-base:3.+'
11+
compile 'io.intercom.android:intercom-sdk-base:8.+'
1212
}

platforms/ios/Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
pod 'Intercom', '~> 3.1.1'
1+
pod 'Intercom', '~> 8.1.1'
2+
platform :ios, '10.0'

references.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.es2016.d.ts" />
2-
31
/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
42
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" />

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"emitDecoratorMetadata": true,
99
"experimentalDecorators": true,
1010
"lib": [
11-
"es2016"
11+
"es2017",
12+
"dom"
1213
],
1314
"sourceMap": true,
1415
"pretty": true,

0 commit comments

Comments
 (0)