react-native-notify-sphere 1.0.0 → 1.1.0

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,2 +1,9 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
+ xmlns:tools="http://schemas.android.com/tools">
3
+ <application>
4
+ <meta-data
5
+ android:name="com.google.firebase.messaging.default_notification_channel_id"
6
+ android:value="channel_default"
7
+ tools:replace="android:value" />
8
+ </application>
2
9
  </manifest>
@@ -11,12 +11,6 @@ class NotifySphereModule(reactContext: ReactApplicationContext) :
11
11
  return NAME
12
12
  }
13
13
 
14
- // Example method
15
- // See https://reactnative.dev/docs/native-modules-android
16
- override fun multiply(a: Double, b: Double): Double {
17
- return a * b
18
- }
19
-
20
14
  companion object {
21
15
  const val NAME = "NotifySphere"
22
16
  }
@@ -3,12 +3,6 @@
3
3
  @implementation NotifySphere
4
4
  RCT_EXPORT_MODULE()
5
5
 
6
- - (NSNumber *)multiply:(double)a b:(double)b {
7
- NSNumber *result = @(a * b);
8
-
9
- return result;
10
- }
11
-
12
6
  - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
13
7
  (const facebook::react::ObjCTurboModule::InitParams &)params
14
8
  {
@@ -1,5 +1,16 @@
1
1
  "use strict";
2
2
 
3
+ /**
4
+ * TurboModule spec for NotifySphere.
5
+ *
6
+ * This file is intentionally minimal — all notification logic is implemented
7
+ * in JavaScript (src/index.tsx) via @react-native-firebase/messaging and
8
+ * @notifee/react-native. No native bridge methods are required.
9
+ *
10
+ * The module registration below is kept for New Architecture compatibility;
11
+ * it allows the codegen to produce the required C++ glue code without
12
+ * exposing any unnecessary native surface.
13
+ */
3
14
  import { TurboModuleRegistry } from 'react-native';
4
15
  export default TurboModuleRegistry.getEnforcing('NotifySphere');
5
16
  //# sourceMappingURL=NativeNotifySphere.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeNotifySphere.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAA0B,cAAc;AAMpE,eAAeA,mBAAmB,CAACC,YAAY,CAAO,cAAc,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeNotifySphere.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,mBAAmB,QAA0B,cAAc;AAIpE,eAAeA,mBAAmB,CAACC,YAAY,CAAO,cAAc,CAAC","ignoreList":[]}