@psync/notifee 9.2.1 → 9.2.3

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.
@@ -1 +1 @@
1
- fd645b32afd04e981fb5a4bc28189fdc
1
+ 0126fef6c0dc76523c7f6b52de668010
@@ -1 +1 @@
1
- 912a1880c767f1be668c16a9014edb07f395c9f7
1
+ 71365e22a457c9e33eb44102c206e40d6f26d43e
@@ -1 +1 @@
1
- 5f9a16efd8fa6fd02f74025a828998616e191f94d7973b1e30acc6baf7360c2f
1
+ 84e53482d2216316af9cfba4439ea46134bccc729d99a80b1509390f62b28706
@@ -1 +1 @@
1
- 62f2e12b27a944d70f18c50277f75c9627d4fc2467fd1448be7af66405a34320cbec4d96b0d6a0fb7e36cb01d159ff061702101e1499d823f83be910930f7ebb
1
+ 3dc44aacaafcc62c8803013e3dabb69540272fdf300cf8b738a37a93b3c0c90068e28a933a1dfbdfa6dfe6bb688b1fc738de7a96ebbd3be8cd6fac7c411b7a0a
@@ -8,6 +8,6 @@
8
8
  <versions>
9
9
  <version>202108261754</version>
10
10
  </versions>
11
- <lastUpdated>20260315031459</lastUpdated>
11
+ <lastUpdated>20260315041518</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- e5f3da142d413ad453c57bdb9a61ba6e
1
+ d76db486940d607642ec3b62a1c3a958
@@ -1 +1 @@
1
- 222db59007fc16500307fe838e03c952066a549b
1
+ f6f3741aec03251117386b13e8cd610f11d966cc
@@ -1 +1 @@
1
- 9e5ce497956d46a02e8cf6860021a437cdc158e3b5bbfb93cc5b7b63a5ab7b9a
1
+ c57439965138a9df990fe5bd93ef2ac0fbdf2eda7c02caf6ded3c266bc10bf8f
@@ -1 +1 @@
1
- 7c82a4f46755ba253e2f125208d613a2f2c156a8468698b15c6eda6b154616ec919d28531179632fce4d2f1e82d8f452c3f5dfb2c98e2550e620323513a0fb04
1
+ 41a6026f882708c9587221867f80a24f37d0f963f73ed8c6bf49bd1d4543ffdff4480001d2e2a18527694e2660edfef1437d3e868207f864c5f518becd8b445a
@@ -1,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- package="io.invertase.notifee">
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
4
3
 
5
4
  <application>
6
5
  <provider
@@ -36,16 +36,8 @@ public class NotifeeApiModule extends ReactContextBaseJavaModule implements Perm
36
36
  return Notifee.getInstance().getMainComponent(defaultComponent);
37
37
  }
38
38
 
39
- // This method was removed upstream in react-native 0.74+, replaced with invalidate
40
- // We will leave this stub here for older react-native versions compatibility
41
- // ...but it will just delegate to the new invalidate method
42
- public void onCatalystInstanceDestroy() {
43
- invalidate();
44
- }
45
-
46
39
  // This method was added in react-native 0.74 as a replacement for onCatalystInstanceDestroy
47
- // It should be marked @Override but that would cause problems in apps using older react-native
48
- // When minimum supported version is 0.74+ add @Override & remove onCatalystInstanceDestroy
40
+ @Override
49
41
  public void invalidate() {
50
42
  NotifeeReactUtils.headlessTaskManager.stopAllTasks();
51
43
  }
@@ -7,6 +7,7 @@ package io.invertase.notifee;
7
7
  import android.content.Context;
8
8
  import android.content.pm.PackageInfo;
9
9
  import android.content.pm.PackageManager;
10
+ import android.content.pm.ProviderInfo;
10
11
  import app.notifee.core.InitProvider;
11
12
  import app.notifee.core.Notifee;
12
13
  import com.facebook.react.modules.systeminfo.ReactNativeVersion;
@@ -14,11 +15,9 @@ import java.util.Map;
14
15
 
15
16
  public class NotifeeInitProvider extends InitProvider {
16
17
  @Override
17
- public boolean onCreate() {
18
- boolean onCreate = super.onCreate();
19
-
18
+ public void attachInfo(Context context, ProviderInfo info) {
19
+ super.attachInfo(context, info);
20
20
  Notifee.initialize(new NotifeeEventSubscriber());
21
- return onCreate;
22
21
  }
23
22
 
24
23
  private String getApplicationVersionString() {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "9.2.1";
1
+ export declare const version = "9.2.3";
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // Generated by genversion.
5
- exports.version = '9.2.1';
5
+ exports.version = '9.2.3';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@psync/notifee",
3
- "version": "9.2.1",
3
+ "version": "9.2.3",
4
4
  "author": "Psync <oss@psync.dev> (https://psync.club)",
5
5
  "description": "Notifee - a feature rich notifications library for React Native.",
6
6
  "main": "dist/index.js",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '9.2.1';
2
+ export const version = '9.2.3';