Closed (fixed)
Project:
Push Notifications
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Sep 2015 at 21:16 UTC
Updated:
19 May 2016 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
liquidcms commentedahh, i see though that the hook_push_notifications_store_token() hook is before the token is stored; so we don't ey have a "token id". I am trying to attach token id to an entity but can't do that until i have id value (i.e. after token is stored).
perhaps i need a patch to add a hook after token is stored.
[and then will need a views relationship to link token to my entity via this id]
Comment #3
liquidcms commentedthis adds a post store hook
Comment #4
haagendazs commentedThat's a great suggestion. I couldn't apply the patch directly, but applied the code manually and modified the documentation in push_notifications.api.php.
Comment #6
haagendazs commented