Skip to content

Commit

Permalink
feat(device): detect if app is running on a macOS desktop with Apple …
Browse files Browse the repository at this point in the history
…Silicon (#4299)
  • Loading branch information
MaximBelov authored Nov 4, 2022
1 parent 2b8992f commit af55cb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/@awesome-cordova-plugins/plugins/device/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit af55cb2

Please sign in to comment.