expo-application 5.8.2 → 5.8.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,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 5.8.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
+
19
+ ## 5.8.3 — 2024-01-18
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 5.8.2 — 2024-01-10
14
24
 
15
25
  _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.8.2'
6
+ version = '5.8.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.application"
95
95
  defaultConfig {
96
96
  versionCode 12
97
- versionName '5.8.2'
97
+ versionName '5.8.4'
98
98
  }
99
99
  }
100
100
 
@@ -1,6 +1,6 @@
1
1
  {
2
- "platforms": ["ios", "android", "web", "tvos"],
3
- "ios": {
2
+ "platforms": ["apple", "android", "web"],
3
+ "apple": {
4
4
  "modules": ["ApplicationModule"]
5
5
  },
6
6
  "android": {
@@ -26,6 +26,7 @@ public class ApplicationModule: Module {
26
26
 
27
27
  do {
28
28
  let fileAttributes = try FileManager.default.attributesOfItem(atPath: urlToDocumentsFolder.path)
29
+ // Uses required reason API based on the following reason: C617.1
29
30
  if let installDate = fileAttributes[FileAttributeKey.creationDate] as? Date {
30
31
  return installDate.timeIntervalSince1970 * 1000
31
32
  }
@@ -23,6 +23,8 @@ Pod::Spec.new do |s|
23
23
  'SWIFT_COMPILATION_MODE' => 'wholemodule'
24
24
  }
25
25
 
26
+ s.resource_bundles = {'ExpoApplication_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 = "#{s.name}/**/*.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>NSPrivacyAccessedAPICategoryFileTimestamp</string>
17
+ <key>NSPrivacyAccessedAPITypeReasons</key>
18
+ <array>
19
+ <string>C617.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-application",
3
- "version": "5.8.2",
3
+ "version": "5.8.4",
4
4
  "description": "A universal module that gets native application information such as its ID, app name, and build version at runtime",
5
5
  "main": "build/Application.js",
6
6
  "types": "build/Application.d.ts",
@@ -36,5 +36,5 @@
36
36
  "peerDependencies": {
37
37
  "expo": "*"
38
38
  },
39
- "gitHead": "ca014bf2516c7644ef303f4c21fdd68de4d99f76"
39
+ "gitHead": "88a8226609b870c0635c39da43ac8306c4dc7031"
40
40
  }