mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-04-20 23:26:22 +08:00
Fixed extras to object of addLocalNotificationForIOS
This commit is contained in:
parent
4780eafb72
commit
b730924d74
@ -104,7 +104,7 @@ export class JPush extends IonicNativePlugin {
|
|||||||
getApplicationIconBadgeNumber(): Promise<any> { return; }
|
getApplicationIconBadgeNumber(): Promise<any> { return; }
|
||||||
|
|
||||||
@Cordova()
|
@Cordova()
|
||||||
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, identifierKey: string, extras?: string): Promise<any> { return; }
|
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, identifierKey: string, extras?: object): Promise<any> { return; }
|
||||||
|
|
||||||
@Cordova()
|
@Cordova()
|
||||||
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any> { return; }
|
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any> { return; }
|
||||||
|
2
ionic/jpush/index.d.ts
vendored
2
ionic/jpush/index.d.ts
vendored
@ -44,7 +44,7 @@ export declare class JPush extends IonicNativePlugin {
|
|||||||
resetBadge(): Promise<any>;
|
resetBadge(): Promise<any>;
|
||||||
setApplicationIconBadgeNumber(badge: number): Promise<any>;
|
setApplicationIconBadgeNumber(badge: number): Promise<any>;
|
||||||
getApplicationIconBadgeNumber(): Promise<any>;
|
getApplicationIconBadgeNumber(): Promise<any>;
|
||||||
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, identifierKey: string, extras?: string): Promise<any>;
|
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, identifierKey: string, extras?: object): Promise<any>;
|
||||||
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any>;
|
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any>;
|
||||||
addDismissActions(actions: Array<object>, categoryId: string): Promise<any>;
|
addDismissActions(actions: Array<object>, categoryId: string): Promise<any>;
|
||||||
addNotificationActions(actions: Array<object>, categoryId: string): Promise<any>;
|
addNotificationActions(actions: Array<object>, categoryId: string): Promise<any>;
|
||||||
|
@ -218,7 +218,7 @@ var JPush = (function (_super) {
|
|||||||
__decorate([
|
__decorate([
|
||||||
Cordova(),
|
Cordova(),
|
||||||
__metadata("design:type", Function),
|
__metadata("design:type", Function),
|
||||||
__metadata("design:paramtypes", [Number, String, Number, String, String]),
|
__metadata("design:paramtypes", [Number, String, Number, String, Object]),
|
||||||
__metadata("design:returntype", Promise)
|
__metadata("design:returntype", Promise)
|
||||||
], JPush.prototype, "addLocalNotificationForIOS", null);
|
], JPush.prototype, "addLocalNotificationForIOS", null);
|
||||||
__decorate([
|
__decorate([
|
||||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@jiguang-ionic/jpush",
|
"name": "@jiguang-ionic/jpush",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "JPush support for ionic-native",
|
"description": "JPush support for ionic-native",
|
||||||
"module": "index.js",
|
"module": "index.js",
|
||||||
"typings": "index.d.ts",
|
"typings": "index.d.ts",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user