NOT MAINTAINED! ⛔️ Push notifications/messages for mobile devices. Supports iOS, Android (C2DM, GCM), Blackberry and Windows Mobile (toast only). A Symfony2 bundle.
In case of a large number of user, no need to check in every insert operation if the device idenfiers array has duplicates entries because it causes memory issue.
Just check it only when we try to retrieve the list of identifier
public function getGCMIdentifiers()
{
return array_unique($this->allIdentifiers);
}
In case of a large number of user, no need to check in every insert operation if the device idenfiers array has duplicates entries because it causes memory issue. Just check it only when we try to retrieve the list of identifier public function getGCMIdentifiers() { return array_unique($this->allIdentifiers); }