Arduino PushSafer-library how to activate option answer / force answer

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 Store
Homepage
StefanL38
Posts: 5
Joined: 9. Nov 2022, 20:58

Arduino PushSafer-library how to activate option answer / force answer

Postby StefanL38 » 9. Nov 2022, 21:48

Hello Everybody,

I have quite some programming experience with Delphi and C++.
So I know the general concepts of programming.

currently I started to explore the PushSafe-Arduini-Library
There is a Demo-Code inside the library.
I was able to successfully combile it and send Push-Notifications.

Though I don't understand all details. I was looking into the docs of the API
here
https://www.pushsafer.com/de/pushapi_ext#API-A

there is an option answer / force answer

force anser parameter "af"
I understand what a parameter is. But I have no idea how this parameter is applied to the

Code: Select all

struct PushSaferInput input;
struct of the PushSaferInput.
To me it seems as if this Demo-Code does not include all possible parameters in the struct.
But maybe I'm misunderstanding how it works fundamentally. Maybe it is done in the message itself like
input.message = "af=1" or something like this. No clue at all.

Can somebody explain this to me?

best regards Stefan

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

Re: Arduino PushSafer-library how to activate option answer / force answer

Postby admin » 10. Nov 2022, 17:25

Hi,

i updated the code on github.
Now you can use option answer / force answer and confirm parameter when sending push-notifications out of arduino.

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 25 guests