MOBILE-4081 core: Use singleton names in plugins
parent
34863362c8
commit
6b759bd5ec
|
@ -50,8 +50,6 @@ import { CoreUpdateManagerProvider } from '@services/update-manager';
|
||||||
import { CoreUrlUtilsProvider } from '@services/utils/url';
|
import { CoreUrlUtilsProvider } from '@services/utils/url';
|
||||||
import { CoreUtilsProvider } from '@services/utils/utils';
|
import { CoreUtilsProvider } from '@services/utils/utils';
|
||||||
import { CoreWSProvider } from '@services/ws';
|
import { CoreWSProvider } from '@services/ws';
|
||||||
import { CoreNetworkService } from '@services/network';
|
|
||||||
import { CorePlatformService } from '@services/platform';
|
|
||||||
|
|
||||||
export const CORE_SERVICES: Type<unknown>[] = [
|
export const CORE_SERVICES: Type<unknown>[] = [
|
||||||
CoreAppProvider,
|
CoreAppProvider,
|
||||||
|
@ -71,8 +69,6 @@ export const CORE_SERVICES: Type<unknown>[] = [
|
||||||
CoreLocalNotificationsProvider,
|
CoreLocalNotificationsProvider,
|
||||||
CoreMimetypeUtilsProvider,
|
CoreMimetypeUtilsProvider,
|
||||||
CoreNavigatorService,
|
CoreNavigatorService,
|
||||||
CoreNetworkService,
|
|
||||||
CorePlatformService,
|
|
||||||
CorePluginFileDelegateService,
|
CorePluginFileDelegateService,
|
||||||
CoreScreenService,
|
CoreScreenService,
|
||||||
CoreSitesProvider,
|
CoreSitesProvider,
|
||||||
|
|
|
@ -344,11 +344,12 @@ export class CoreCompileProvider {
|
||||||
instance['CoreLoggerProvider'] = CoreLogger;
|
instance['CoreLoggerProvider'] = CoreLogger;
|
||||||
instance['moment'] = moment;
|
instance['moment'] = moment;
|
||||||
instance['Md5'] = Md5;
|
instance['Md5'] = Md5;
|
||||||
instance['Network'] = CoreNetwork.instance; // @deprecated on 4.1, plugins should use CoreNetworkService instead.
|
instance['Network'] = CoreNetwork.instance; // @deprecated on 4.1, plugins should use CoreNetwork instead.
|
||||||
instance['Platform'] = CorePlatform.instance; // @deprecated on 4.1, plugins should use CorePlatform instead.
|
instance['Platform'] = CorePlatform.instance; // @deprecated on 4.1, plugins should use CorePlatform instead.
|
||||||
instance['CoreSyncBaseProvider'] = CoreSyncBaseProvider;
|
instance['CoreSyncBaseProvider'] = CoreSyncBaseProvider;
|
||||||
instance['CoreArray'] = CoreArray;
|
instance['CoreArray'] = CoreArray;
|
||||||
instance['CoreComponentsRegistry'] = CoreComponentsRegistry;
|
instance['CoreComponentsRegistry'] = CoreComponentsRegistry;
|
||||||
|
instance['CoreNetwork'] = CoreNetwork.instance;
|
||||||
instance['CorePlatform'] = CorePlatform.instance;
|
instance['CorePlatform'] = CorePlatform.instance;
|
||||||
instance['CoreDom'] = CoreDom;
|
instance['CoreDom'] = CoreDom;
|
||||||
instance['CoreForms'] = CoreForms;
|
instance['CoreForms'] = CoreForms;
|
||||||
|
|
Loading…
Reference in New Issue