Skip to content

Commit 8149146

Browse files
committed
Added Android Permission for Local Notifications
1 parent 70e8daf commit 8149146

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

plugins/2020.3569/android/metadata.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ local metadata =
33
plugin =
44
{
55
format = 'jar',
6-
7-
manifest =
6+
7+
manifest =
88
{
99
permissions = {},
10-
usesPermissions = {},
10+
usesPermissions = {
11+
"android.permission.SCHEDULE_EXACT_ALARM"--Needed for Local Notifications
12+
},
1113
usesFeatures = {},
1214

1315
applicationChildElements =
@@ -23,7 +25,7 @@ local metadata =
2325
}
2426
}
2527
},
26-
28+
2729
coronaManifest = {
2830
dependencies = {
2931
["shared.firebase.messaging"] = "com.coronalabs"
-665 Bytes
Binary file not shown.

src/android/plugin/src/main/java/plugin/notifications/v2/LuaLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@SuppressWarnings({"unused", "RedundantSuppression"})
3636
public class LuaLoader implements JavaFunction, CoronaRuntimeListener {
3737
private static final String PLUGIN_NAME = "plugin.notifications.v2";
38-
private static final String PLUGIN_VERSION = "1.0.1";
38+
private static final String PLUGIN_VERSION = "1.0.2";
3939

4040
// message constants
4141
private static final String CORONA_TAG = "Corona";

0 commit comments

Comments
 (0)