django-scarface
django-scarface copied to clipboard
Send push notifications to mobile devices using Amazon SNS
A simple fix to add a `__str__` method to the `Device` model
Hello, I'm trying to implement rich push notification. I tried to override the `format_payload` method and added `'mutable-content': True` to the `aps` dictionary. The data that is being posted to...
It was unclear from the docs how the settings described actually link up to using boto to make the necessary API calls with the correct credentials. These changes allow settings...
Boto support is being phased out, and [is being replaced](https://github.com/boto/boto#boto-3) by boto3. As far as I know, this library only uses SNS: https://boto3.readthedocs.io/en/latest/reference/services/sns.html Opening this as moto [is deprecating](https://github.com/spulec/moto/blob/master/CHANGELOG.md#100) the...
In platform_strategy.py: ```python def trim_message(self, message): import sys trim_length = SCARFACE_DEFAULT_MESSAGE_TRIM_LENGTH if hasattr(settings, 'SCARFACE_MESSAGE_TRIM_LENGTH'): trim_length = settings.SCARFACE_MESSAGE_TRIM_LENGTH if sys.getsizeof(message) > trim_length: while sys.getsizeof(message) > trim_length: message = message[:-3] message +=...
I am having a really really tough time getting this to work. The documentation is incomplete. What I have done so far: pip install scarface add 'scarface' in INSTALLED_APPS under...
The command extract_keys listed on docs does not work for me, when i run it gives the following traceback: > Traceback (most recent call last): > File "manage.py", line 10,...