2022-06-20 18:26:27 +02:00
|
|
|
// (C) Copyright 2015 Moodle Pty Ltd.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
2023-11-21 13:13:23 +01:00
|
|
|
import { Badge } from '@awesome-cordova-plugins/badge/ngx';
|
|
|
|
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
2023-11-29 08:58:43 +01:00
|
|
|
import { Chooser } from '@features/native/plugins/chooser';
|
2023-11-21 13:13:23 +01:00
|
|
|
import { Clipboard } from '@awesome-cordova-plugins/clipboard/ngx';
|
|
|
|
import { Device } from '@awesome-cordova-plugins/device/ngx';
|
|
|
|
import { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';
|
|
|
|
import { File } from '@awesome-cordova-plugins/file/ngx';
|
|
|
|
import { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';
|
|
|
|
import { FileTransfer } from '@awesome-cordova-plugins/file-transfer/ngx';
|
|
|
|
import { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';
|
|
|
|
import { HTTP } from '@awesome-cordova-plugins/http/ngx';
|
|
|
|
import { InAppBrowser } from '@awesome-cordova-plugins/in-app-browser/ngx';
|
|
|
|
import { WebView } from '@awesome-cordova-plugins/ionic-webview/ngx';
|
|
|
|
import { Keyboard } from '@awesome-cordova-plugins/keyboard/ngx';
|
|
|
|
import { LocalNotifications } from '@awesome-cordova-plugins/local-notifications/ngx';
|
|
|
|
import { MediaCapture } from '@awesome-cordova-plugins/media-capture/ngx';
|
2023-04-21 16:17:46 +12:00
|
|
|
import { Push } from '@moodlehq/ionic-native-push/ngx';
|
2022-06-20 18:26:27 +02:00
|
|
|
import { QRScanner } from '@ionic-native/qr-scanner/ngx';
|
2023-11-21 13:13:23 +01:00
|
|
|
import { SplashScreen } from '@awesome-cordova-plugins/splash-screen/ngx';
|
|
|
|
import { SQLite } from '@awesome-cordova-plugins/sqlite/ngx';
|
|
|
|
import { StatusBar } from '@awesome-cordova-plugins/status-bar/ngx';
|
|
|
|
import { WebIntent } from '@awesome-cordova-plugins/web-intent/ngx';
|
2023-11-29 16:50:43 +01:00
|
|
|
import { Zip } from '@features/native/plugins/zip';
|
2022-06-20 18:26:27 +02:00
|
|
|
|
|
|
|
export const CORE_NATIVE_SERVICES = [
|
|
|
|
Badge,
|
|
|
|
Camera,
|
|
|
|
Chooser,
|
|
|
|
Clipboard,
|
|
|
|
Device,
|
|
|
|
Diagnostic,
|
|
|
|
File,
|
|
|
|
FileOpener,
|
|
|
|
FileTransfer,
|
|
|
|
Geolocation,
|
|
|
|
HTTP,
|
|
|
|
InAppBrowser,
|
|
|
|
Keyboard,
|
|
|
|
LocalNotifications,
|
|
|
|
MediaCapture,
|
|
|
|
Push,
|
|
|
|
QRScanner,
|
|
|
|
SplashScreen,
|
|
|
|
StatusBar,
|
|
|
|
SQLite,
|
|
|
|
WebIntent,
|
|
|
|
WebView,
|
|
|
|
Zip,
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
providers: [
|
|
|
|
Badge,
|
|
|
|
Camera,
|
|
|
|
Clipboard,
|
|
|
|
Device,
|
|
|
|
Diagnostic,
|
|
|
|
File,
|
|
|
|
FileOpener,
|
|
|
|
FileTransfer,
|
|
|
|
Geolocation,
|
|
|
|
HTTP,
|
|
|
|
InAppBrowser,
|
|
|
|
Keyboard,
|
|
|
|
LocalNotifications,
|
|
|
|
MediaCapture,
|
|
|
|
Push,
|
|
|
|
QRScanner,
|
|
|
|
SplashScreen,
|
|
|
|
SQLite,
|
|
|
|
StatusBar,
|
|
|
|
WebIntent,
|
|
|
|
WebView,
|
|
|
|
],
|
|
|
|
})
|
|
|
|
export class CoreNativeModule {}
|