Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    lexrock
    @lexrock
    @hugobrilhante Hi i have used your GCM app for my django server, and i had do all steps, and add the rest authentication, but, when I send the command curl to add a device, always return "{"detail":"Authentication credentials were not provided."}"
    the command is: curl -X POST -H "Content-Type: application/json" -H "Authorization: Token 0f1e9b8a33aa19c42a835da0ec77bde315cdca0d" -d '{"dev_id": "e1ty1e1T1C8:APA91bGT8rAg5KzwKJ975lrAWr83-ssLwAjfVBvxaeLc2Li5y-Ax7L2TjExSvPcvVhqufqIJzwPCE9Uj7V0EHaqCA-msvjg_xa_R7qwqELlrBDaM3haWxSvL2rygWzw1wSXFRzEfkV1P","dev_type": "ANDROID","reg_id": "1"}' 'http://127.0.0.1:8000/api/devices'
    Hugo Brilhante
    @hugobrilhante
    Hello @lexrock thanks you for contacting us. Have you tried to put it in your settings ? REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': (
    ...
    'rest_framework.authentication.TokenAuthentication',
    )
    }
    Pranay Prateek
    @pranay01_twitter
    Hey folks.. any idea whether whatsapp uses GCM for push notification ?
    This link asks to update Google Services to remove delay in message dleivery
    *delivery
    Renato Marinho
    @renatomarinho
    This message was deleted
    Renato Marinho
    @renatomarinho
    This message was deleted