expo-device 5.9.3 → 5.9.4

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
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 5.9.4 — 2024-04-15
14
+
15
+ ### 💡 Others
16
+
17
+ - [iOS] Add privacy manifest describing required reason API usage. ([#27770](https://github.com/expo/expo/pull/27770) by [@aleqsio](https://github.com/aleqsio))
18
+
13
19
  ## 5.9.3 — 2024-01-18
14
20
 
15
21
  _This version does not introduce any user-facing changes._
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '5.9.3'
6
+ version = '5.9.4'
7
7
 
8
8
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
9
  if (expoModulesCorePlugin.exists()) {
@@ -94,7 +94,7 @@ android {
94
94
  namespace "expo.modules.device"
95
95
  defaultConfig {
96
96
  versionCode 12
97
- versionName '5.9.3'
97
+ versionName '5.9.4'
98
98
  }
99
99
  }
100
100
 
@@ -28,6 +28,7 @@ public class DeviceModule: Module {
28
28
  }
29
29
 
30
30
  AsyncFunction("getUptimeAsync") { () -> Double in
31
+ // Uses required reason API based on the following reason: 35F9.1 – there's not really a matching reason here
31
32
  return ProcessInfo.processInfo.systemUptime * 1000
32
33
  }
33
34
 
@@ -23,6 +23,8 @@ Pod::Spec.new do |s|
23
23
  'SWIFT_COMPILATION_MODE' => 'wholemodule'
24
24
  }
25
25
 
26
+ s.resource_bundles = {'ExpoDevice_privacy' => ['PrivacyInfo.xcprivacy']}
27
+
26
28
  if !$ExpoUseSources&.include?(package['name']) && ENV['EXPO_USE_SOURCE'].to_i == 0 && File.exist?("#{s.name}.xcframework") && Gem::Version.new(Pod::VERSION) >= Gem::Version.new('1.10.0')
27
29
  s.source_files = "**/*.h"
28
30
  s.vendored_frameworks = "#{s.name}.xcframework"
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyCollectedDataTypes</key>
6
+ <array>
7
+ </array>
8
+ <key>NSPrivacyTracking</key>
9
+ <false/>
10
+ <key>NSPrivacyTrackingDomains</key>
11
+ <array/>
12
+ <key>NSPrivacyAccessedAPITypes</key>
13
+ <array>
14
+ <dict>
15
+ <key>NSPrivacyAccessedAPIType</key>
16
+ <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
17
+ <key>NSPrivacyAccessedAPITypeReasons</key>
18
+ <array>
19
+ <string>35F9.1</string>
20
+ </array>
21
+ </dict>
22
+ </array>
23
+ </dict>
24
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-device",
3
- "version": "5.9.3",
3
+ "version": "5.9.4",
4
4
  "description": "A universal module that gets physical information about the device running the application",
5
5
  "main": "build/Device.js",
6
6
  "types": "build/Device.d.ts",
@@ -41,5 +41,5 @@
41
41
  "peerDependencies": {
42
42
  "expo": "*"
43
43
  },
44
- "gitHead": "102899632731658eecba006c0d1c79b98ba8f5f7"
44
+ "gitHead": "88a8226609b870c0635c39da43ac8306c4dc7031"
45
45
  }