expo-notifications 0.24.0 → 0.24.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
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.24.1 — 2023-09-15
14
+
15
+ ### 💡 Others
16
+
17
+ - Remove legacy expo package notifications module code. ([#24325](https://github.com/expo/expo/pull/24325) by [@wschurman](https://github.com/wschurman))
18
+
13
19
  ## 0.24.0 — 2023-09-15
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 = '0.24.0'
6
+ version = '0.24.1'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -70,7 +70,7 @@ android {
70
70
  minSdkVersion safeExtGet("minSdkVersion", 21)
71
71
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
72
72
  versionCode 21
73
- versionName '0.24.0'
73
+ versionName '0.24.1'
74
74
  }
75
75
 
76
76
  lintOptions {
@@ -127,9 +127,7 @@ EX_REGISTER_SINGLETON_MODULE(NotificationCenterDelegate);
127
127
  BOOL responseWillBeHandledByAppropriateDelegate = NO;
128
128
  for (int i = 0; i < _delegates.count; i++) {
129
129
  id pointer = [_delegates pointerAtIndex:i];
130
- if ([pointer respondsToSelector:@selector(userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:)]
131
- && ![NSStringFromClass([pointer class]) isEqual: @"EXUserNotificationManager"]) {
132
- // Remove EXUserNotificationManager check when LegacyNotifications are no longer supported
130
+ if ([pointer respondsToSelector:@selector(userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:)]) {
133
131
  responseWillBeHandledByAppropriateDelegate = YES;
134
132
  break;
135
133
  }
@@ -191,10 +189,6 @@ EX_REGISTER_SINGLETON_MODULE(NotificationCenterDelegate);
191
189
  // completion handler doesn't need to do anything
192
190
  }];
193
191
  }
194
- // Remove EXUserNotificationManager check when LegacyNotifications are no longer supported
195
- if (![NSStringFromClass([delegate class]) isEqual:@"EXUserNotificationManager"]) {
196
- [_pendingNotificationResponses removeAllObjects];
197
- }
198
192
  }
199
193
  }
200
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "Notifications module",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -57,5 +57,5 @@
57
57
  "peerDependencies": {
58
58
  "expo": "*"
59
59
  },
60
- "gitHead": "ee2c866ba3c7fbc35ff2a3e896041cf15d3bd7c5"
60
+ "gitHead": "2bd82552d004cba40601572c8f141f063150620c"
61
61
  }