CR-Confirm delay time not working

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

======================
Google Play
App Store
Windows 10 Store
Homepage
tafische
Posts: 7
Joined: 18. Jan 2021, 02:22

CR-Confirm delay time not working

Postby tafische » 18. Jan 2021, 02:32

Sending an email with +2 priority and CR=600 (+i=84+s=61+v=3+pr=2+cr=600@pushsafer.com). My IOS app is alerting every 10 seconds rather than the 10 minute increments specified.

12596136 > 34051

Any ideas? Thanks!

User avatar
admin
Site Admin
Posts: 711
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: CR-Confirm delay time not working

Postby admin » 18. Jan 2021, 09:11

it seems you send the mail to your alias mail address with cr=60
Aliases overwrites the transmitted values!

So edit your alias to 600 or send the mail to your main pushsafer mail address!

Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

tafische
Posts: 7
Joined: 18. Jan 2021, 02:22

Re: CR-Confirm delay time not working

Postby tafische » 20. Jan 2021, 20:10

Hey Kevin! Thanks for the reply. I checked and I am sending to my primary API key, I even deleted my Alias just to make sure. I also tested using the web interface with the same results. Maybe I am missing something, but I dont know what....

Date Parameter Device d Message ID > Device ID
2021-01-20 14:05:37 34051 >
2021-01-20 14:05:26 34051 >
2021-01-20 14:05:14 34051 >
2021-01-20 14:05:02 a 12642488 > 34051

User avatar
admin
Site Admin
Posts: 711
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: CR-Confirm delay time not working

Postby admin » 20. Jan 2021, 21:04

i checked the system and all works like it should!
confirm_test.jpg
confirm_test.jpg (13.66 KiB) Viewed 813 times
Please try this little script to test if cr works correctly!

Code: Select all

 <script>
var xhttp;
if (window.XMLHttpRequest) {
    xhttp = new XMLHttpRequest();
    } else {
    // code for IE6, IE5
    xhttp = new ActiveXObject("Microsoft.XMLHTTP");
}

xhttp.open("POST", "https://www.pushsafer.com/api", true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.onreadystatechange = ProcessRequest;
xhttp.send("t=Confirm Test"+
	   "&m=open pushsafer to confirm message"+
	   "&d=[DEVICEID]"+
	   "&k=[PRIVATEKEY]"+
           "&i=3"+
       	   "&c=#AaDAA1"+
	   "&s=61"+
	   "&v=3"+
	   "&u="+escape('https://www.pushsafer.com')+
	   "&ut="+escape('Open Pushsafer')+
	   "&re="+
	   "&ex="+
	   "&pr=2"+
	   "&cr=600"+
	   "&a=1"
);

function ProcessRequest() {
	document.write('ReadyState: '+xhttp.readyState+'<br>');
	document.write('Status: '+xhttp.status+'<br>');
	document.write('ResponseText: '+xhttp.responseText+'<br>');
}
</script>

Copy this code in a html file and open it in a browser of your choice!
Replace [DEVICEID] and [PRIVATEKEY] with your data before!

Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

tafische
Posts: 7
Joined: 18. Jan 2021, 02:22

Re: CR-Confirm delay time not working

Postby tafische » 20. Jan 2021, 21:59

Ran the script and had the same result. Using my main private Key.

2021-01-20 15:50:15 34051 >
2021-01-20 15:50:04 34051 >
2021-01-20 15:49:47 34051 >
2021-01-20 15:49:42 34051 12643660 > 34051
2021-01-20 15:47:26 34051 >
2021-01-20 15:47:15 34051 >
2021-01-20 15:47:03 34051 >
2021-01-20 15:46:59 34051 12643625 > 34051

User avatar
admin
Site Admin
Posts: 711
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: CR-Confirm delay time not working

Postby admin » 20. Jan 2021, 23:34

do you have the same trouble when using resend & expire parameter? Please try the script below!

Code: Select all

 <script>
var xhttp;
if (window.XMLHttpRequest) {
    xhttp = new XMLHttpRequest();
    } else {
    // code for IE6, IE5
    xhttp = new ActiveXObject("Microsoft.XMLHTTP");
}

xhttp.open("POST", "https://www.pushsafer.com/api", true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.onreadystatechange = ProcessRequest;
xhttp.send("t=Confirm Test"+
	   "&m=open pushsafer to confirm message"+
	   "&d=[DEVICEID]"+
	   "&k=[PRIVATEKEY]"+
           "&i=3"+
       	   "&c=#AaDAA1"+
	   "&s=61"+
	   "&v=3"+
	   "&u="+escape('https://www.pushsafer.com')+
	   "&ut="+escape('Open Pushsafer')+
	   "&re=60"+
	   "&ex=600"+
	   "&pr=2"+
	   "&cr="+
	   "&a=1"
);

function ProcessRequest() {
	document.write('ReadyState: '+xhttp.readyState+'<br>');
	document.write('Status: '+xhttp.status+'<br>');
	document.write('ResponseText: '+xhttp.responseText+'<br>');
}
</script>
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

tafische
Posts: 7
Joined: 18. Jan 2021, 02:22

Re: CR-Confirm delay time not working

Postby tafische » 21. Jan 2021, 05:16

12646543:34051

When I run the second script, I only receive a single alert with no retries

User avatar
admin
Site Admin
Posts: 711
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: CR-Confirm delay time not working

Postby admin » 21. Jan 2021, 09:13

Hello again,

after a little sleep i found the issue (Time zone conversion) and fixed it!
Please try again!

Thanks for your help, i credited some api calls to your account.

Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

tafische
Posts: 7
Joined: 18. Jan 2021, 02:22

Re: CR-Confirm delay time not working

Postby tafische » 21. Jan 2021, 15:13

Ich möchte mich recht herzlich bedanken.

Everything seems to be working as expected. This is by far the best notification app I have ever used and I am very pleased!

User avatar
admin
Site Admin
Posts: 711
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: CR-Confirm delay time not working

Postby admin » 21. Jan 2021, 17:11

great to hear that all works like it should!

You like Pushsafer Service and Support - please leave a little review on the appstore.

Thanks Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10


Who is online

Users browsing this forum: No registered users and 2 guests