feat(device): detect if app is running on a macOS desktop with Apple Silicon (#4299)

This commit is contained in:
MaximBelov
2022-11-04 22:46:34 +02:00
committed by GitHub
parent 2b8992faf3
commit af55cb25fa
@@ -66,4 +66,8 @@ export class Device extends AwesomeCordovaNativePlugin {
/** Get the Android device's SDK version. (Android-only) */
@CordovaProperty()
sdkVersion?: string;
/** Detect if app is running on a macOS desktop with Apple Silicon. */
@CordovaProperty()
isiOSAppOnMac: string;
}