@capacitor/device 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.1.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/device@1.1.0...@capacitor/device@1.1.1) (2021-12-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **device:** isVirtual is false on M1 simulators ([#726](https://github.com/ionic-team/capacitor-plugins/issues/726)) ([5377586](https://github.com/ionic-team/capacitor-plugins/commit/53775863df624531e8ffa4b18852b408e1bd2cbd))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.1.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/device@1.0.6...@capacitor/device@1.1.0) (2021-11-17)
7
18
 
8
19
 
@@ -16,7 +16,7 @@ public class DevicePlugin: CAPPlugin {
16
16
  }
17
17
  @objc func getInfo(_ call: CAPPluginCall) {
18
18
  var isSimulator = false
19
- #if arch(i386) || arch(x86_64)
19
+ #if targetEnvironment(simulator)
20
20
  isSimulator = true
21
21
  #endif
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/device",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "3beb75a9bfc18d0586f2c9df1b584250e95e0237"
86
+ "gitHead": "d378c00d51b1c9fb978772906448fa0ec9cb81d0"
87
87
  }