expo-system-ui 2.9.2 → 2.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,18 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.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
+
19
+ ## 2.9.3 — 2024-01-10
20
+
21
+ ### 💡 Others
22
+
23
+ - Replace deprecated `com.facebook.react:react-native:+` Android dependency with `com.facebook.react:react-android`. ([#26237](https://github.com/expo/expo/pull/26237) by [@kudo](https://github.com/kudo))
24
+
13
25
  ## 2.9.2 — 2023-12-19
14
26
 
15
27
  _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 = '2.9.2'
6
+ version = '2.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.systemui"
95
95
  defaultConfig {
96
96
  versionCode 1
97
- versionName '2.9.2'
97
+ versionName '2.9.4'
98
98
  }
99
99
  }
100
100
 
@@ -105,8 +105,7 @@ dependencies {
105
105
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}"
106
106
  }
107
107
 
108
- //noinspection GradleDynamicVersion
109
- implementation 'com.facebook.react:react-native:+'
108
+ implementation 'com.facebook.react:react-android'
110
109
  implementation 'androidx.core:core:1.6.0'
111
110
  implementation 'androidx.appcompat:appcompat:1.2.0'
112
111
  }
@@ -43,6 +43,7 @@ public class ExpoSystemUIModule: Module {
43
43
  EXUtilities.performSynchronously {
44
44
  if color == nil {
45
45
  if let window = UIApplication.shared.delegate?.window {
46
+ // Uses required reason API based on the following reason: CA92.1
46
47
  UserDefaults.standard.removeObject(forKey: colorKey)
47
48
  let interfaceStyle = window?.traitCollection.userInterfaceStyle
48
49
  window?.backgroundColor = nil
@@ -22,6 +22,8 @@ Pod::Spec.new do |s|
22
22
  'DEFINES_MODULE' => 'YES'
23
23
  }
24
24
 
25
+ s.resource_bundles = {'ExpoSystemUI_privacy' => ['PrivacyInfo.xcprivacy']}
26
+
25
27
  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')
26
28
  s.source_files = "#{s.name}/**/*.h"
27
29
  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>NSPrivacyAccessedAPICategoryUserDefaults</string>
17
+ <key>NSPrivacyAccessedAPITypeReasons</key>
18
+ <array>
19
+ <string>CA92.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-system-ui",
3
- "version": "2.9.2",
3
+ "version": "2.9.4",
4
4
  "description": "Interact with system UI elements",
5
5
  "main": "build/SystemUI.js",
6
6
  "types": "build/SystemUI.d.ts",
@@ -44,5 +44,5 @@
44
44
  "peerDependencies": {
45
45
  "expo": "*"
46
46
  },
47
- "gitHead": "43f1b4f8a5a9bca649e4e7ca6e4155482a162431"
47
+ "gitHead": "88a8226609b870c0635c39da43ac8306c4dc7031"
48
48
  }