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 How can i send Media ( Images Attached ) in IOS & Andriod #102

Open
anonymous-persone opened this issue Mar 4, 2019 · 2 comments

Comments

@anonymous-persone
Copy link

i need to send image like this in both IOS and Andriod

image

@anonymous-persone anonymous-persone changed the title Please how can i send Media ( Images Attached ) in IOS & Andriod How can i send Media ( Images Attached ) in IOS & Andriod Mar 4, 2019
@anonymous-persone anonymous-persone changed the title How can i send Media ( Images Attached ) in IOS & Andriod Please How can i send Media ( Images Attached ) in IOS & Andriod Mar 5, 2019
@diegoeduardorios
Copy link

You can try this

    $parameters = [
        'headings'       => [
            'en' => 'Message Heading',
            'pt' => 'Titulo da msg'
        ],
        'contents'       => [
            'en' => 'Message Content '.Carbon::now()->toString(),
            'pt' => 'Conteudo da msg '.Carbon::now()->toString()
        ],
        'big_picture' => 'https://solvus.com.br/wp-content/uploads/2016/05/Push-Notification-01-2.png',
        'ios_attachments' => [
            "id" => "https://solvus.com.br/wp-content/uploads/2016/05/Push-Notification-01-2.png"
        ],
        'ios_badgeType'  => 'Increase',
        'ios_badgeCount' => 1,
        'included_segments' => array('All')
    ];

    $result = $client->sendNotificationCustom($parameters);

@sant0will
Copy link

a question, where i can see all valid parameters? anyone knows?

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

3 participants