Skip to content

Commit 165709b

Browse files
AndroidX compatibility #159
1 parent e7737b4 commit 165709b

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

demo-ng/references.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
2+
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" />
3+
/// <reference path="./node_modules/nativescript-local-notifications/platforms/ios/typings/objc!LocalNotificationsPlugin.d.ts" />

src/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "nativescript-local-notifications",
3-
"version": "3.3.0",
3+
"version": "4.0.0",
44
"description": "The Local Notifications plugin allows your app to show notifications when the app is not running. Just like remote push notifications, but a few orders of magnitude easier to set up.",
55
"main": "local-notifications",
66
"typings": "index.d.ts",
77
"nativescript": {
88
"platforms": {
9-
"android": "2.3.0",
10-
"ios": "2.3.0"
9+
"android": "6.0.0",
10+
"ios": "6.0.0"
1111
}
1212
},
1313
"scripts": {
@@ -60,10 +60,10 @@
6060
},
6161
"homepage": "https://github.com/eddyverbruggen/nativescript-local-notifications",
6262
"devDependencies": {
63-
"nativescript-dev-typescript": "~0.7.4",
64-
"tns-core-modules": "~5.2.0",
65-
"tns-platform-declarations": "next",
63+
"nativescript-dev-typescript": "rc",
64+
"tns-core-modules": "rc",
65+
"tns-platform-declarations": "rc",
6666
"tslint": "^5.10.0",
67-
"typescript": "~2.8.4"
67+
"typescript": "~3.4.5"
6868
}
6969
}

src/platforms/ios/typings/objc!LocalNotificationsPlugin.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ declare var LocalNotificationsPluginVersionString: interop.Reference<number>;
33

44
declare var LocalNotificationsVersionNumber: number;
55

6+
// @ts-ignore
67
declare class Notification extends NSObject implements UIApplicationDelegate {
78

89
static alloc(): Notification; // inherited from NSObject

0 commit comments

Comments
 (0)