This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Register the plugin with Capacitor | |
import { Plugins } from '@capacitor/core'; | |
const { Keyboard } = Plugins; | |
// ORIENTATION | |
// Start tracking device orientation. This must be run in order for the following event listener to work | |
iosMotion.getOrientation() |