fix(plugins): cleanup and add new plugins to index

This commit is contained in:
Ibrahim Hadeed 2016-03-13 16:08:15 -04:00
parent 786cd21de8
commit 1771f7bfe1
2 changed files with 13 additions and 11 deletions

View File

@ -11,6 +11,7 @@ import {AppRate} from './plugins/apprate';
import {AppVersion} from './plugins/appversion'; import {AppVersion} from './plugins/appversion';
import {Badge} from './plugins/badge'; import {Badge} from './plugins/badge';
import {BarcodeScanner} from './plugins/barcodescanner'; import {BarcodeScanner} from './plugins/barcodescanner';
import {Base64ToGallery} from './plugins/base64togallery';
import {BatteryStatus} from './plugins/batterystatus'; import {BatteryStatus} from './plugins/batterystatus';
import {BLE} from './plugins/ble'; import {BLE} from './plugins/ble';
import {Calendar} from './plugins/calendar'; import {Calendar} from './plugins/calendar';
@ -18,6 +19,7 @@ import {Camera} from './plugins/camera';
import {Clipboard} from './plugins/clipboard'; import {Clipboard} from './plugins/clipboard';
import {Contacts} from './plugins/contacts'; import {Contacts} from './plugins/contacts';
import {DatePicker} from './plugins/datepicker'; import {DatePicker} from './plugins/datepicker';
import {DBMeter} from './plugins/dbmeter';
import {Device} from './plugins/device'; import {Device} from './plugins/device';
import {DeviceMotion} from './plugins/devicemotion'; import {DeviceMotion} from './plugins/devicemotion';
import {DeviceOrientation} from './plugins/deviceorientation'; import {DeviceOrientation} from './plugins/deviceorientation';
@ -28,10 +30,12 @@ import {Flashlight} from './plugins/flashlight';
import {Geolocation} from './plugins/geolocation'; import {Geolocation} from './plugins/geolocation';
import {Globalization} from './plugins/globalization'; import {Globalization} from './plugins/globalization';
import {ImagePicker} from './plugins/imagepicker'; import {ImagePicker} from './plugins/imagepicker';
import {Keyboard} from './plugins/keyboard';
import {LaunchNavigator} from './plugins/launchnavigator'; import {LaunchNavigator} from './plugins/launchnavigator';
import {LocalNotifications} from './plugins/localnotifications'; import {LocalNotifications} from './plugins/localnotifications';
import {Push} from './plugins/push'; import {Push} from './plugins/push';
import {SMS} from './plugins/sms'; import {SMS} from './plugins/sms';
import {Splashscreen} from './plugins/splashscreen';
import {StatusBar} from './plugins/statusbar'; import {StatusBar} from './plugins/statusbar';
import {Toast} from './plugins/toast'; import {Toast} from './plugins/toast';
import {TouchID} from './plugins/touchid'; import {TouchID} from './plugins/touchid';
@ -43,6 +47,7 @@ export {
AppVersion, AppVersion,
Badge, Badge,
BarcodeScanner, BarcodeScanner,
Base64ToGallery,
BatteryStatus, BatteryStatus,
BLE, BLE,
Calendar, Calendar,
@ -50,6 +55,7 @@ export {
Clipboard, Clipboard,
Contacts, Contacts,
DatePicker, DatePicker,
DBMeter,
Device, Device,
DeviceMotion, DeviceMotion,
DeviceOrientation, DeviceOrientation,
@ -60,10 +66,12 @@ export {
Geolocation, Geolocation,
Globalization, Globalization,
ImagePicker, ImagePicker,
Keyboard,
LaunchNavigator, LaunchNavigator,
LocalNotifications, LocalNotifications,
Push, Push,
SMS, SMS,
Splashscreen,
StatusBar, StatusBar,
Toast, Toast,
TouchID TouchID
@ -79,6 +87,7 @@ window['IonicNative'] = {
AppVersion: AppVersion, AppVersion: AppVersion,
Badge: Badge, Badge: Badge,
BarcodeScanner: BarcodeScanner, BarcodeScanner: BarcodeScanner,
Base64ToGallery: Base64ToGallery,
BatteryStatus: BatteryStatus, BatteryStatus: BatteryStatus,
BLE: BLE, BLE: BLE,
Calendar: Calendar, Calendar: Calendar,
@ -86,6 +95,7 @@ window['IonicNative'] = {
Clipboard: Clipboard, Clipboard: Clipboard,
Contacts: Contacts, Contacts: Contacts,
DatePicker: DatePicker, DatePicker: DatePicker,
DBMeter: DBMeter,
Device: Device, Device: Device,
DeviceMotion: DeviceMotion, DeviceMotion: DeviceMotion,
DeviceOrientation: DeviceOrientation, DeviceOrientation: DeviceOrientation,
@ -96,10 +106,12 @@ window['IonicNative'] = {
Geolocation: Geolocation, Geolocation: Geolocation,
Globalization: Globalization, Globalization: Globalization,
ImagePicker: ImagePicker, ImagePicker: ImagePicker,
Keyboard: Keyboard,
LaunchNavigator: LaunchNavigator, LaunchNavigator: LaunchNavigator,
LocalNotifications: LocalNotifications, LocalNotifications: LocalNotifications,
Push: Push, Push: Push,
SMS: SMS, SMS: SMS,
Splashscreen: Splashscreen,
StatusBar: StatusBar, StatusBar: StatusBar,
Toast: Toast, Toast: Toast,
TouchID: TouchID TouchID: TouchID

View File

@ -35,16 +35,6 @@ export class Keyboard {
}) })
static show() : void {} static show() : void {}
@Cordova({ // TODO add event listener
sync: true
})
static close() : void {}
//static onKeyboardShow() : Observable<any> {
// return new Observable(
// observer => {
//
// }
// );
//}
} }