Apple Push Notification Service with A4D?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Apple Push Notification Service with A4D?

Norbert Pfaff-2
I serve Data with the json Library to some iPhone and Android Apps. There are sometimes critical information, which the user of the app should become aware of. So I want to send Push Notifications to the App, to request the new informations.

Has somebody tried to do this in Active 4D? Some tipps?

Grüße/regards
Norbert
       


Norbert Pfaff
Hammelstalstr. 52
67098 Bad Dürkheim

Fon: 06322 9108028
Skype:    npfaff
eMail: [hidden email]





_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/
Reply | Threaded
Open this post in threaded view
|

Re: Apple Push Notification Service with A4D?

Aparajita Fishman
> I serve Data with the json Library to some iPhone and Android Apps. There are sometimes critical information, which the user of the app should become aware of. So I want to send Push Notifications to the App, to request the new informations.
>
> Has somebody tried to do this in Active 4D? Some tipps?

Looking at the Apple Push Notification docs, it looks like you will have to use ITK or NTK to create a persistent TCP connection to the push notification service. Then you can use Active4D to create the JSON data to send.

Many thanks,

  - Aparajita


_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/
Reply | Threaded
Open this post in threaded view
|

Re: Apple Push Notification Service with A4D?

Norbert Pfaff-2
Hallo Aparajita,

thanks for your tip

I will try it with NTK to get a socket

Grüße/regards
Norbert
       

Norbert Pfaff
Hammelstalstr. 52
67098 Bad Dürkheim

Fon: 06322 9108028
Skype:    npfaff
eMail: [hidden email]





> Am 14.03.2016 um 23:50 schrieb Aparajita Fishman <[hidden email]>:
>
>> I serve Data with the json Library to some iPhone and Android Apps. There are sometimes critical information, which the user of the app should become aware of. So I want to send Push Notifications to the App, to request the new informations.
>>
>> Has somebody tried to do this in Active 4D? Some tipps?
>
> Looking at the Apple Push Notification docs, it looks like you will have to use ITK or NTK to create a persistent TCP connection to the push notification service. Then you can use Active4D to create the JSON data to send.
>
> Many thanks,
>
>  - Aparajita
>
>
> _______________________________________________
> Active4D-dev mailing list
> [hidden email]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/