diff --git a/plugins/2020.3569/android/plugin.notifications.v2.jar b/plugins/2020.3569/android/plugin.notifications.v2.jar index 0435c5a..c72ed48 100644 Binary files a/plugins/2020.3569/android/plugin.notifications.v2.jar and b/plugins/2020.3569/android/plugin.notifications.v2.jar differ diff --git a/src/android/plugin/src/main/java/plugin/notifications/v2/LuaLoader.java b/src/android/plugin/src/main/java/plugin/notifications/v2/LuaLoader.java index bd3309f..26629e1 100644 --- a/src/android/plugin/src/main/java/plugin/notifications/v2/LuaLoader.java +++ b/src/android/plugin/src/main/java/plugin/notifications/v2/LuaLoader.java @@ -486,8 +486,8 @@ public int invoke(final LuaState luaState) { String key = luaState.toString(-2); switch (key) { case "alert": - if (luaState.type(-1) != LuaType.STRING) { - logMsg(ERROR_MSG, "options.alert (string) expected, got " + luaState.typeName(-1)); + if (luaState.type(-1) != LuaType.STRING && luaState.type(-1) != LuaType.TABLE) { + logMsg(ERROR_MSG, "options.alert (string or table) expected, got " + luaState.typeName(-1)); } break; case "badge":