mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
feat(device): detect if app is running on a macOS desktop with Apple Silicon (#4299)
This commit is contained in:
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user