Discussions
How to integrate pushcrew from scratch ?
Posted by Shaik Adil over 5 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
Error submitting
when trying to send as described in the documentation (https://api.pushcrew.com/docs/send-to-all-subscribers) I have been receiving the following error:
"Failed to load https://pushcrew.com/api/v1/send/all: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response."
My code:
$ .ajax ({
url: url,
type: 'post',
async: true,
crossDomain: true,
date: {
title: content.title,
message: content.description,
url: content.url,
image_url: content.image
},
headers: {
"authorization": "mykey",
},
dataType: 'json',
done: function (data) {
console.log (data);
}
});
My AcountID: ba6c71941fa73cd13ed28807fdb7c53e
Posted by PanRotas TI over 5 years ago
Javascript API - Modal Translation
How can I translate the Javascript API modal's messages?
I know that using the parameter "text" I can edit the default message. But what about in these cases "If User is already subscribed" and "If User had blocked"?
At this point I'm using something like this:
window._pcq.push(['triggerOptIn',{subscriberSegment: 'homepage', modal: {text: 'Receba alertas sobre nossa promoção!', blackenBackground: true}}]);
Cheers
Posted by Gustavo Paiva over 6 years ago
Help
What do I need to do to finish and turn on?
Posted by Deleted User about 5 years ago
how to use your dashboard
I want to know how to use your dashboard?
Posted by lily chang over 5 years ago
How to add a subscriber in api
Actually I am trying to add subscribers to a segment but I need subscriber Id. Please let me know how can I add subscriber Id or how can I add subscriber into app.
Posted by Prabh over 7 years ago
Get
Hi, I need help
I'm trying build a status message in view, like "Browser Enable" or "Browser Blocked". So, I made this:
if(pushcrew.isAPIReady) {
if (console.log(pushcrew.subscriberId) === false){
$('.inactive-push').attr("hidden",false);
} else if (console.log(pushcrew.subscriberId) === -1){
$('.blocked-push').attr("hidden",false);
} else {
$('.active-push').attr("hidden",false);
}
}
I can run this in console normally, and work right, but, when I try put this in my code, I get a error like "Uncaught ReferenceError: pushcrew is not defined"
Posted by Lucas Marques over 6 years ago
Get List of Segments
Here in your documentation: http://api.pushcrew.com/docs/get-list-of-segments you tell to use a GET method but which variable do I have to pass? I created a segment category but I forgot to uncomment the result so I don't have an ID of my segment
Posted by Marco Argenti almost 7 years ago
Zapier Push Notifications are scheduled with a delay
When there's an api push notification that gets created through zapier it's scheduling the push notifications in pushcrew with a delay... Which is kind of annoying. Is there a way I can set it up to send instantly?
Posted by Dustin Lumsden over 7 years ago