urukalo/localytics-push

Localytics Push message sender

v0.1.8 2017-02-23 14:32 UTC

This package is not auto-updated.

Last update: 2024-03-16 16:03:32 UTC


README

this package is in development, for now it has only limited functionality

please if You do any modifications make pull request (for now i use Parse SDK as reference for all criteria to allow fast migration from Parse to Localytics)

there is one example to send iOS badge:

        $data = [
            "device" => ["ios" => ["badge" => 1]]
        ];

        $query = new LocalyticsPush(
            config('localytics.api_key'), 
            config('localytics.api_sec'),
            config('localytics.app_key')
            );

        $query->equalTo('push_enabled', 1); //lookup for more criterias

        $query->send(str_slug('catalog-badge-brand-' . $catalogName), $data, "and");

next to to:

  • make code more abstract
  • cover more criteria
  • do some tests U lazy ***! 😠

contributors: