mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Revert "refactor: optimize plugins for angular treeshaking"
This reverts commit 8b53c04dc5.
This commit is contained in:
@@ -80,9 +80,7 @@ export interface GyroscopeOptions {
|
||||
repo: 'https://github.com/NeoLSN/cordova-plugin-gyroscope',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
@Injectable()
|
||||
export class Gyroscope extends IonicNativePlugin {
|
||||
/**
|
||||
* Watching for gyroscope sensor changes
|
||||
|
||||
Reference in New Issue
Block a user