Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for ios get success responce but not send in device laravel 7 #126

Open
darshantank1995 opened this issue Oct 14, 2020 · 4 comments
Open

Comments

@darshantank1995
Copy link

darshantank1995 commented Oct 14, 2020

{
"success": 1,
"failure": 0,
"tokenFailList": []
}

image

   $push = new PushNotification('apn');
        $response   =   $push->setMessage([
        'aps' => [
            'alert'=> "Breaking News!",
            'sound' => 'default'
        ]
    ])

      
        ->setDevicesToken(['0431e9d44cbca06e7ebcd1491ba11d5a821c94533e395a56ce9c5675b6da29e9'])
        ->send()
        ->getFeedback();

     return response()->json($response);
@darshantank1995 darshantank1995 changed the title for ios get success responce but not send in device for ios get success responce but not send in device laravel 7 Oct 14, 2020
@mamomia
Copy link

mamomia commented Nov 10, 2020

same problem. any solution?

if i changed dry_run to true then device get notifications even though im very sure i put certificates for production in config.

@darshantank1995
Copy link
Author

try to unblock [2197] port in server

@daniellaurel
Copy link

try to unblock [2197] port in server

does this solve the problem?

@nikulvnnovate7
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants