expo-notifications 0.27.5 → 0.27.7
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,20 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.27.7 — 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
|
+
## 0.27.6 — 2024-01-26
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- Throw `UnavailabilityError` when trying to use `setNotificationCategoryAsync` on web. ([#26511](https://github.com/expo/expo/pull/26511) by [@marklawlor](https://github.com/marklawlor))
|
|
24
|
+
- Remove `.native` hardcoded platform imports ([#26511](https://github.com/expo/expo/pull/26511) by [@marklawlor](https://github.com/marklawlor))
|
|
25
|
+
- On `Android`, added events to module definition to clear warnings. ([#26654](https://github.com/expo/expo/pull/26654) by [@alanjhughes](https://github.com/alanjhughes))
|
|
26
|
+
|
|
13
27
|
## 0.27.5 — 2024-01-25
|
|
14
28
|
|
|
15
29
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '0.27.
|
|
6
|
+
version = '0.27.7'
|
|
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.notifications"
|
|
95
95
|
defaultConfig {
|
|
96
96
|
versionCode 21
|
|
97
|
-
versionName '0.27.
|
|
97
|
+
versionName '0.27.7'
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
buildFeatures {
|
|
@@ -52,6 +52,7 @@ EX_EXPORT_METHOD_AS(getInstallationIdAsync,
|
|
|
52
52
|
return installationId;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
// Uses required reason API based on the following reason: CA92.1
|
|
55
56
|
NSString *legacyUUID = [[NSUserDefaults standardUserDefaults] stringForKey:kEXDeviceInstallationUUIDLegacyKey];
|
|
56
57
|
if (legacyUUID) {
|
|
57
58
|
installationId = legacyUUID;
|
|
@@ -16,6 +16,8 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
|
|
17
17
|
s.dependency 'ExpoModulesCore'
|
|
18
18
|
|
|
19
|
+
s.resource_bundles = {'ExpoNotifications_privacy' => ['PrivacyInfo.xcprivacy']}
|
|
20
|
+
|
|
19
21
|
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')
|
|
20
22
|
s.source_files = "#{s.name}/**/*.h"
|
|
21
23
|
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-notifications",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.7",
|
|
4
4
|
"description": "Notifications module",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"expo": "*"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "88a8226609b870c0635c39da43ac8306c4dc7031"
|
|
59
59
|
}
|