Skip to content
This repository was archived by the owner on Mar 25, 2019. It is now read-only.
This repository was archived by the owner on Mar 25, 2019. It is now read-only.

Problem with iOS notifications when the app is in the background #27

Open
@aozbayra

Description

@aozbayra

I am using this gem to set up my iOS app receive notifications from GCM. My app does indeed receive notifications when its active(on the foreground), however when its not active, it does not receive anything unless I make it active again. From what I read through multiple sources, I must send a this key value pair within my JSON post request: "content_available" : "true" but when I do so I receive an internal server error although I have the APNs certificate. Any thought on why this gem is not working when my app is on background and its indeed working when its active?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions