Skip to content

How to set up a deep link? #11

@oooeee

Description

@oooeee

Nice to meet you, I'm using andpush.

If I want to specify a deep link with andpush, how should I describe it?

I use it like this.

def self.push_notification(user, title, body)
    client  = Andpush.new(Setting.fcm_server_key)
    payload = {
      to: user.device.token,
      notification: {
        title: title,
        body: body
      },
      data: {
        extra: "data"
      }
    }

    client.push(payload)
  end

はじめまして、andpushを利用しています。

andpushでディープリンクを指定したい場合は、どのように記載すると良いですか?

このような感じで利用しています。

※英文はGoogle翻訳を使ったので文法に間違いがあると思います、ご容赦ください

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions