Revert "refactor: optimize plugins for angular treeshaking"

This reverts commit 8b53c04dc5.
This commit is contained in:
Daniel Sogl
2019-02-20 17:37:39 +01:00
parent 6fde61d69c
commit fcda5ffcab
238 changed files with 245 additions and 735 deletions
+3 -9
View File
@@ -74,9 +74,7 @@ export interface NdefTag {
/**
* @{ NFC } class methods
*/
@Injectable({
providedIn: 'root'
})
@Injectable()
export class NFC extends IonicNativePlugin {
FLAG_READER = {
NFC_A: 0,
@@ -313,9 +311,7 @@ export class NFC extends IonicNativePlugin {
* Do not pass bytes as parameters for these methods, conversion is built in.
* For usage with nfc.write() and nfc.share()
*/
@Injectable({
providedIn: 'root'
})
@Injectable()
export class Ndef extends IonicNativePlugin {
@CordovaProperty()
TNF_EMPTY: number;
@@ -427,9 +423,7 @@ export class Ndef extends IonicNativePlugin {
plugin: 'phonegap-nfc',
pluginRef: 'util'
})
@Injectable({
providedIn: 'root'
})
@Injectable()
export class NfcUtil extends IonicNativePlugin {
@Cordova({ sync: true })
toHex(i: number): string {