Push notification 离子4推送通知

Push notification 离子4推送通知,push-notification,ionic4,angular8,Push Notification,Ionic4,Angular8,推送通知中出现声音问题 使用Ionic 4和Angular 8创建android应用程序 我的PHP推送代码 <?php error_reporting(E_ALL); ini_set("display_errors", true); // prep the bundle $msg = array ( 'message' => $_POST['message'], 'title' => $_POST['title'], 'subtitle'

推送通知中出现声音问题
使用Ionic 4和Angular 8创建android应用程序

我的PHP推送代码

<?php
error_reporting(E_ALL);
ini_set("display_errors", true);

// prep the bundle
$msg = array
(
    'message'   => $_POST['message'],
    'title'     => $_POST['title'],
    'subtitle'  => $_POST['subtitle'],
    'tickerText' => $_POST['ticket_text'],
    'vibrate' => 1,
    'alert'=> 'true',
    'badge'=> true,
    'sound'=> 'true',
    'largeIcon' => 'large_icon',
    'smallIcon' => 'small_icon'
);
$fields = array
(
    'registration_ids'  => $registrationIds,
    'data'              => $msg
);
$headers = array
(
    'Authorization: key=' . API_ACCESS_KEY,
    'Content-Type: application/json'
);
$ch = curl_init();


<platform name="android">

        <resource-file src="resources/android/push.mp3" target="res/push.mp3" />
    </platform>