Forum: Cross-Platform-Entwicklung
by friedt99,
18. Sep 2022
Hier mal eine Anleitung wie man Push Notifications unter IOS mit APN zum Laufen bekommt da ich
ziemlich lange gebraucht habe.
Basis ist Delphi 11.1 und XCode 13.4.1 und eine App (mit allen Einstellungen in Apple Developer) die man zumindest auf
einem Entwicklungsgerät ausführen kann.
Remote Push Notifications sind Notifications die von "außen" an ein Device gesendet werden.
1.) In...
Forum: Cross-Platform-Entwicklung
by friedt99,
18. Sep 2022
So, habe es jetzt mit
TMessageManager.DefaultManager.SubscribeToMessage(TPushRemoteNotificationMessage,HandleRemoteNotificationReceived);
versucht. Da kommt aber immer noch keine Notification an.
Forum: Cross-Platform-Entwicklung
by friedt99,
18. Sep 2022
Hallo Zusammen,
ich richte gerade Push Notifications an meine App ein. In FMX verwende ich dazu "Grijjy.RemotePush.Receiver".
Ich teste das auf dem Mac mit (die Variablen sind gesetzt):
curl -v --header "apns-topic: $TOPIC" --header "apns-push-type: alert" --header "authorization: bearer $AUTHENTICATION_TOKEN" --data '{"aps":{"alert":"test"}}' --http2...