<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/

return array(
  'package' => array(
    'type' => 'module',
    'name' => 'browserpush',
    'version' => '8.0.0',
    'dependencies' => array(
      array(
        'type' => 'module',
        'name' => 'core',
        'minVersion' => '8.0.0',
      ),
    ),
    'path' => 'application/modules/Browserpush',
    'title' => 'Web & Mobile Browser Push Notifications Plugin',
    'description' => 'Web & Mobile Browser Push Notifications Plugin',
    'author' => '<a href="https://socialengine.com/" style="text-decoration:underline;" target="_blank">SocialEngine</a>',
    'thumb' => 'application/modules/Browserpush/externals/images/thumb.png',
    'callback' => array(
      'path' => 'application/modules/Browserpush/settings/install.php',
      'class' => 'Browserpush_Installer',
    ),
    'actions' =>
    array(
      0 => 'install',
      1 => 'upgrade',
      2 => 'refresh',
      3 => 'enable',
      4 => 'disable',
    ),
    'directories' =>
    array(
      'application/modules/Browserpush',
    ),
    'files' =>
    array(
      'application/languages/en/browserpush.csv',
      'firebase-messaging-sw.js',
      'manifest.json',
    ),
  ),
  'loadDefault' => array(
    'js' => array(),
    'css' => array(),
  ),
  // Items --------------------------------------------------------------------
  'items' => array(
    'browserpush_scheduled',
    'browserpush_token'
  ),
  // Hooks ---------------------------------------------------------------------
  'hooks' => array(
    array(
      'event' => 'onActivityNotificationCreateAfter',
      'resource' => 'Browserpush_Plugin_Core',
    ),
  ),
);
