FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconnectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
iOS push notification with APN
iOS push notification with APN
Iniciado por csoft, 31,oct. 2022 17:10 - 3 respuestas
Conéctese…
csoft
#1
Miembro registrado
9 mensajes
Publicado el 31,octubre 2022 - 17:10
Hi all,
I have a problem with receiving of notify on the Apple iOS device. I put the code to consent the user to accept the notification and stored returned token id in the remote database.
After this I get this token id and send a message via Apple APN service with generated certificate from Apple. I haven't any error when sending but on the device I not receive any notification.
Can anyone help me?
Informar
0
0
LANSOIRTHEMOS
#2
Miembro registrado
3 mensajes
Publicado el 08,noviembre 2022 - 07:56
I got the DevicePushToken and sending APN push notification in the backend with Node, but I just couldn’t get it work in Expo (managed workflow). I followed exactly in docs which poorly documented and I also tried exactly like this.
APN returns: {"reason":"DeviceTokenNotForTopic"}
-Added APN in Apple Dev Portal and downloaded .p8 file-Uploaded it to with expo credentials
-Used .p8 successfully when sending APN request
-Sent request using ‘development’
https://api.development.push.apple.com
-Checked entitlement and its 'aps-environment': 'development'
-And yes, Bundle ID matches and exactly same in expo and apple dev portal
Desperate for any suggestions? I trying to send notifications with image snippet and looks like FCM for Android and APN for iOS are the ways to do, but just can't seem to make it work.
Informar
0
0
csoft
#3
Miembro registrado
9 mensajes
Publicado el 15,noviembre 2022 - 10:24
In my case, the notification not work on the lastest iOS. All works fine with previous version.
Informar
0
0
Kursat
#4
Publicado el 05,abril 2023 - 16:40
csoft escreveu:
Hi all,
I have a problem with receiving of notify on the Apple iOS device. I put the code to consent the user to accept the notification and stored returned token id in the remote database.
After this I get this token id and send a message via Apple APN service with generated certificate from Apple. I haven't any error when sending but on the device I not receive any notification.
Can anyone help me?
How you did that?
I could not find any solution for this notification problem.
Is there any sample code or someting like that.
Support does not give any kind of help
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV 26
WINDEV 2024
WINDEV 2024
WINDEV 2024
WINDEV 25
WEBDEV 2024
WEBDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV Mobile 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
WINDEV (versiones precedentes)
WINDEV (versiones precedentes)
WEBDEV (versiones precedentes)
WINDEV Mobile (versiones precedentes)
Reports & Queries
Irrelevante
Herramientas
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto