@ammarahmed/notifee-react-native 7.4.2 → 7.4.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,8 +1,78 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
3
  package="io.invertase.notifee">
4
+
5
+ <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
6
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
7
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
8
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
9
+ <uses-permission android:name="android.permission.VIBRATE" />
10
+ <uses-permission android:name="android.permission.INTERNET" />
11
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
12
+ <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
13
+ <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
14
+ <uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" android:maxSdkVersion="30" />
15
+ <!-- For Xiaomi devices to enable heads-up notifications as default (https://github.com/invertase/notifee/issues/296) -->
16
+ <uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" android:minSdkVersion="23" />
17
+
4
18
 
5
19
  <application>
20
+ <!-- Receiver Service -->
21
+ <service
22
+ android:name="app.noteifee.core.ReceiverService"
23
+ android:exported="false" />
24
+
25
+ <activity
26
+ android:name="app.notifee.core.NotificationReceiverActivity"
27
+ android:noHistory="true"
28
+ android:excludeFromRecents="true"
29
+ android:taskAffinity=""
30
+ android:theme="@android:style/Theme.Translucent.NoTitleBar"
31
+ android:exported="true" />
32
+
33
+ <!-- Foreground Service -->
34
+ <service
35
+ android:name="app.noteifee.core.ForegroundService"
36
+ android:exported="false" />
37
+
38
+ <receiver
39
+ android:name="app.noteifee.core.RebootBroadcastReceiver"
40
+ android:exported="false">
41
+ <intent-filter>
42
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
43
+ <action android:name="android.intent.action.QUICKBOOT_POWERON" />
44
+ <action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
45
+ </intent-filter>
46
+ </receiver>
47
+
48
+ <receiver
49
+ android:name="app.noteifee.core.AlarmPermissionBroadcastReceiver"
50
+ android:exported="true">
51
+ <intent-filter>
52
+ <action android:name="android.app.action.SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED" />
53
+ </intent-filter>
54
+ </receiver>
55
+
56
+ <receiver
57
+ android:name="app.noteifee.core.NotificationAlarmReceiver"
58
+ android:exported="false">
59
+ <intent-filter>
60
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
61
+ <action android:name="android.intent.action.QUICKBOOT_POWERON" />
62
+ <action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
63
+ </intent-filter>
64
+ </receiver>
65
+
66
+ <!-- Broadcast Receiver -->
67
+ <receiver
68
+ android:name="app.noteifee.core.BlockStateBroadcastReceiver"
69
+ android:exported="false">
70
+ <intent-filter>
71
+ <action android:name="android.app.action.APP_BLOCK_STATE_CHANGED" />
72
+ <action android:name="android.app.action.NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED" />
73
+ <action android:name="android.app.action.NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED" />
74
+ </intent-filter>
75
+ </receiver>
6
76
  <provider
7
77
  android:name=".NotifeeInitProvider"
8
78
  android:authorities="${applicationId}.notifee-init-provider"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ammarahmed/notifee-react-native",
3
- "version": "7.4.2",
3
+ "version": "7.4.3",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "Notifee - a feature rich notifications library for React Native.",
6
6
  "main": "dist/index.js",