expo-notifications 0.28.5 → 0.28.6

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.28.6 — 2024-06-03
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [Android] Remove unneeded logging. ([#29370](https://github.com/expo/expo/pull/29370) by [@douglowder](https://github.com/douglowder))
18
+
13
19
  ## 0.28.5 — 2024-05-31
14
20
 
15
21
  ### 🐛 Bug fixes
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '0.28.5'
4
+ version = '0.28.6'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -14,7 +14,7 @@ android {
14
14
  namespace "expo.modules.notifications"
15
15
  defaultConfig {
16
16
  versionCode 21
17
- versionName '0.28.5'
17
+ versionName '0.28.6'
18
18
  }
19
19
 
20
20
  buildFeatures {
@@ -38,11 +38,9 @@ public class ExpoNotificationLifecycleListener implements ReactActivityLifecycle
38
38
  @Override
39
39
  public void onCreate(Activity activity, Bundle savedInstanceState) {
40
40
  Intent intent = activity.getIntent();
41
- String actionIdentifier = intent.getAction();
42
41
  if (intent != null) {
43
42
  Bundle extras = intent.getExtras();
44
43
  if (extras != null) {
45
- logExtra("onCreate", extras);
46
44
  mNotificationManager.onNotificationResponseFromExtras(extras);
47
45
  }
48
46
  }
@@ -60,22 +58,9 @@ public class ExpoNotificationLifecycleListener implements ReactActivityLifecycle
60
58
  @Override
61
59
  public boolean onNewIntent(Intent intent) {
62
60
  Bundle extras = intent.getExtras();
63
- String actionIdentifier = intent.getAction();
64
61
  if (extras != null) {
65
- logExtra("onNewIntent", extras);
66
62
  mNotificationManager.onNotificationResponseFromExtras(extras);
67
63
  }
68
64
  return ReactActivityLifecycleListener.super.onNewIntent(intent);
69
65
  }
70
-
71
- private void logExtra(String method, Bundle extra) {
72
- Log.d("ExpoNotificationLifecycleListener", method + " : keys count = " + extra.keySet().size());
73
-
74
- for (String key : extra.keySet()) {
75
- Log.d(
76
- "ExpoNotificationLifecycleListener",
77
- method + " : key = " + key + " = " + Objects.requireNonNull(extra.get(key)).toString()
78
- );
79
- }
80
- }
81
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "0.28.5",
3
+ "version": "0.28.6",
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": "546dd2f5a30aec8844180e627cf8e2e7718aaa4f"
58
+ "gitHead": "c5f9475105bf30767df9c2937ac7d01ddb344527"
59
59
  }