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

Please add support for Android FCM client #31

Closed
matsumura-f opened this issue May 16, 2018 · 3 comments
Closed

Please add support for Android FCM client #31

matsumura-f opened this issue May 16, 2018 · 3 comments

Comments

@matsumura-f
Copy link

matsumura-f commented May 16, 2018

I'd like to pushing to my Android FCM client
example use [pusher/pusher-php-server]

// Install the server library with:
//   composer require pusher/pusher-php-server

require __DIR__ . '/vendor/autoload.php';

$pusher = new Pusher\Pusher('APP_KEY', 'APP_SECRET', 'APP_ID', array('cluster' => 'APP_CLUSTER'));

$pusher->notify(
  array("donuts"),
  array(
    'fcm' => array(
      'notification' => array(
        'title' => 'hello world',
        'icon' => 'androidlogo'
      ),
    ),
  )
);
@atymic
Copy link
Member

atymic commented Sep 12, 2019

PR is welcome :)

@jessarcher
Copy link
Collaborator

@matsumura-f Can you confirm whether #42 resolves this? I've switched to the new Pusher Beams SDK, which uses FCM rather than GCM.

@atymic
Copy link
Member

atymic commented Jan 3, 2020

Fixed in #42 :)

@atymic atymic closed this as completed Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants