mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-02-01 06:52:50 +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({
|
@Plugin({
|
||||||
pluginName: 'JPush',
|
pluginName: 'JPush',
|
||||||
plugin: 'jpush-phonegap-plugin',
|
plugin: 'jpush-phonegap-plugin',
|
||||||
pluginRef: 'jPush',
|
pluginRef: 'plugins.jPushPlugin',
|
||||||
repo: 'https://github.com/jpush/jpush-phonegap-plugin',
|
repo: 'https://github.com/jpush/jpush-phonegap-plugin',
|
||||||
install: 'ionic cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_app_key',
|
install: 'ionic cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_app_key',
|
||||||
installVariables: ['APP_KEY'],
|
installVariables: ['APP_KEY'],
|
||||||
@ -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, notificationId: number, extras?: string): Promise<any> { return; }
|
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, identifierKey: string, extras?: string): Promise<any> { return; }
|
||||||
|
|
||||||
@Cordova()
|
@Cordova()
|
||||||
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any> { return; }
|
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any> { return; }
|
||||||
|
Loading…
Reference in New Issue
Block a user