fix(index-app-content): add missing function
This commit is contained in:
parent
e61d574849
commit
8d571989d4
@ -1,5 +1,6 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||||
|
import { Observable } from 'rxjs/Observable';
|
||||||
|
|
||||||
export interface IndexItem {
|
export interface IndexItem {
|
||||||
domain: string;
|
domain: string;
|
||||||
@ -110,6 +111,16 @@ export class IndexAppContent extends IonicNativePlugin {
|
|||||||
clearItemsForIdentifiers(identifiers: Array<string>): Promise<any> {
|
clearItemsForIdentifiers(identifiers: Array<string>): Promise<any> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If user taps on a search result in spotlight then the app will be launched.
|
||||||
|
* You can register a Javascript handler to get informed when this happens.
|
||||||
|
* @returns {Observable<any>} returns an observable that notifies you when he user presses on the home screen icon
|
||||||
|
*/
|
||||||
|
@CordovaFunctionOverride()
|
||||||
|
onItemPressed(): Observable<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* You might want to avoid to update spotlight index too frequently.
|
* You might want to avoid to update spotlight index too frequently.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user