@ammarahmed/notifee-react-native 7.4.1 → 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.
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import java.nio.file.Paths
|
|
2
2
|
import org.gradle.internal.jvm.Jvm
|
|
3
3
|
|
|
4
|
-
apply plugin: 'com.android.library'
|
|
5
4
|
|
|
6
5
|
buildscript {
|
|
7
6
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
@@ -23,6 +22,8 @@ plugins {
|
|
|
23
22
|
id "io.invertase.gradle.build" version "1.5"
|
|
24
23
|
}
|
|
25
24
|
|
|
25
|
+
apply plugin: 'com.android.library'
|
|
26
|
+
|
|
26
27
|
// https://github.com/facebook/react-native/blob/a70354df12ef71aec08583cca4f1fed5fb77d874/ReactAndroid/build.gradle#L168-L201
|
|
27
28
|
def findNodeModulePath(baseDir, packageName) {
|
|
28
29
|
def basePath = baseDir.toPath().normalize()
|
|
@@ -67,15 +68,14 @@ project.ext {
|
|
|
67
68
|
android {
|
|
68
69
|
defaultConfig {
|
|
69
70
|
multiDexEnabled true
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
javaCompileOptions {
|
|
71
|
+
javaCompileOptions {
|
|
73
72
|
annotationProcessorOptions {
|
|
74
73
|
arguments = ["room.schemaLocation":
|
|
75
74
|
"$projectDir/schemas".toString(),
|
|
76
75
|
eventBusIndex: 'app.notifee.core.EventBusIndex']
|
|
77
76
|
}
|
|
78
77
|
}
|
|
78
|
+
}
|
|
79
79
|
|
|
80
80
|
lintOptions {
|
|
81
81
|
disable 'GradleCompatible'
|
|
@@ -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.
|
|
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",
|