Discussions
Firefox Push Notification on Android
Hi! I was trying to click on "See it in Action" button on Pushcrew website on Firefox Android. But it did not ask me for Push Permission. So, is Firefox on Android supported?
Posted by Ankit Gupta over 7 years ago
Firefox Push Notification on Android
Hi! I was trying to click on "See it in Action" button on Pushcrew website on Firefox Android. But it did not ask me for Push Permission. So, is Firefox on Android supported?
Posted by Ankit Gupta over 7 years ago
Where is the PushCrew JavaScript present?
For installing the push crew javascript , i need this file.
Posted by vrushali patil over 7 years ago
Subscriber with problems
In last days,I saw some crazy problems, some users haven't receive push notification and others in the same group receive normaly, all this users have push notification ID, and have notification "alow" for pushcrew in browser and I checked the the permition and everything are okay. What I can check also?
Posted by Lucas Marques almost 7 years ago
PHP REST API parameter
Hi guys,
on creating a segment, can I pass "actions" and "locations" parameters with the PHP REST API, too?
Or can I only pass the "name" parameter?
Best regards
Matthias
Posted by Matthias over 4 years ago
Send to an Individual Subscriber
I don´t know whats is wrong. Im trying to senda test to a subscribed user using php. could you help me
<?php
$title = 'Titulo de Test';
$message = 'Test';
$url = 'http://segsoftware.com.br';
$subscriberId = '919fd2eec1c0e0304655a355a62e3fc0';
$apiToken = 'df06e4a9c1507e4f73945928375131d9';
$curlUrl = 'https://pushcrew.com/api/v1/send/individual/';
//set POST variables
$fields = array(
'title' => $title,
'message' => $message,
'url' => $url,
'subscriber_id' => $subscriberId
);
$httpHeadersArray = Array();
$httpHeadersArray[] = 'Authorization: key='.$apiToken;
//open connection
$ch = curl_init();
//set the url, number of POST vars, POST data
curl_setopt($ch, CURLOPT_URL, $curlUrl);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($fields));
curl_setopt($ch, CURLOPT_HTTPHEADER, $httpHeadersArray);
//execute post
$result = curl_exec($ch);
$resultArray = json_decode($result, true);
if($resultArray['status'] == 'success') {
//success
//echo $resultArray['request_id']; //ID of Notification Request
echo("sucess");
}
else if($resultArray['status'] == 'failure') {
//failure
echo("erro1");
}
else {
//failure
echo("erro2 " . $result);
}
//echo($subscriberId);
?>
Posted by Adenilson Soares over 6 years ago
set uo file
i have used the javascript code but it is giving error
8 Uncaught TypeError: Cannot read property 'push' of undefined
window_pcq is undefined.
Why is this so??
i need the setup files to use pushcrew notifications
Posted by zahra over 7 years ago
Remove subscriber from a particular segment
Can I use this to remove a subscriber from the global segment?
It doesn't appear to be working.. If not, you should really update your documentation because I've spent a couple of days building under the impression that I could add a one click opt-out to our site.
Posted by Tom Arthey almost 6 years ago
REST API 400 BAD Request
{
"status": "failure",
"message": "URL cannot be empty"
}
Posted by Praveen Kumar Mushnam over 6 years ago
Test
Test
Posted by Neha Verma over 5 years ago