NoahSaso / Pusher

Forward push notifications from iOS device to various services (Pushover, Pushbullet, IFTTT, etc.) [Jailbreak App]
24 stars 4 forks source link

[Feature Request] Allow advanced keyword based filtering or even message altering #3

Open vkedwardli opened 4 years ago

vkedwardli commented 4 years ago

Initial thought: Allow user to input provide a JavaScript function to filter/alter the message, return false = don't send return [String] where [String] could be the altered or original content

vkedwardli commented 4 years ago

A bit lazy to do the UI (since PSEditTextViewCell doesn't support dynamic height)

my current hard coded implementation: https://github.com/vkedwardli/Pusher/commit/b307d0e6f8f9d4cba10f5dc0a6bd6b2b6fda8223