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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,4 +66,8 @@ export class Device extends AwesomeCordovaNativePlugin {
/** Get the Android device's SDK version. (Android-only) */ /** Get the Android device's SDK version. (Android-only) */
@CordovaProperty() @CordovaProperty()
sdkVersion?: string; sdkVersion?: string;
/** Detect if app is running on a macOS desktop with Apple Silicon. */
@CordovaProperty()
isiOSAppOnMac: string;
} }