mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 22:42:51 +08:00
Fixed params error
This commit is contained in:
parent
4f4a7e44f8
commit
29970cd306
4
index.ts
4
index.ts
@ -14,7 +14,7 @@ export interface AliasOptions {
|
||||
@Plugin({
|
||||
pluginName: 'JPush',
|
||||
plugin: 'jpush-phonegap-plugin',
|
||||
pluginRef: 'jPush',
|
||||
pluginRef: 'plugins.jPushPlugin',
|
||||
repo: 'https://github.com/jpush/jpush-phonegap-plugin',
|
||||
install: 'ionic cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_app_key',
|
||||
installVariables: ['APP_KEY'],
|
||||
@ -104,7 +104,7 @@ export class JPush extends IonicNativePlugin {
|
||||
getApplicationIconBadgeNumber(): Promise<any> { return; }
|
||||
|
||||
@Cordova()
|
||||
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, notificationId: number, extras?: string): Promise<any> { return; }
|
||||
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, identifierKey: string, extras?: string): Promise<any> { return; }
|
||||
|
||||
@Cordova()
|
||||
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any> { return; }
|
||||
|
Loading…
Reference in New Issue
Block a user