@aigens/aigens-sdk-core 0.0.27 → 0.0.28

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.
@@ -247,7 +247,11 @@ public class CorePlugin extends Plugin {
247
247
  boolean areNotificationsEnabled = notificationManagerCompat.areNotificationsEnabled();
248
248
  JSObject object = new JSObject();
249
249
  try {
250
- object.put("display", "granted");
250
+ if (areNotificationsEnabled) {
251
+ object.put("display", "granted");
252
+ }else {
253
+ object.put("display", "denied");
254
+ }
251
255
  } catch (Exception e) {
252
256
  object.put("display", "denied");
253
257
  e.printStackTrace();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigens/aigens-sdk-core",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "description": "Aigens Order.Place Core Plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",