Añadir notificaciones push
improve this page | report issueAñadir notificaciones push a una aplicación
Puede añadir notificaciones push a la aplicación y aumentar el compromiso de los usuarios.
Para añadir notificaciones push a la aplicación:
-
Seleccione Compromiso. Esto mostrará la lista de servicios disponibles.
-
Seleccione Notificaciones push y pulse Habilitar. Se mostrará la página de configuración de notificaciones push.
-
Configure la notificación push para Android proporcionando la Clave de secreto de API y el ID de remitente y pulse Guardar configuración.
-
Vaya al separador de iOS y proporcione detalles de configuración de push: seleccione el Entorno, proporcione el archivo .p12 con la vía de acceso y especifique la Contraseña y pulse Guardar configuración.
- Realice el paso adicional siguiente para iOS:
- Abra el proyecto xcode
<path_to_app>/ionic/platforms/ios/<app>.xcodeproj
y habilite la función de notificaciones push. Para obtener más detalles, consulte https://help.apple.com/xcode/mac/current/#/devdfd3d04a1.
- Abra el proyecto xcode
-
En el lado del servidor,
-
Siga http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-notifications/#setting-up-notifications para habilitar las notificaciones push en el lado del servidor.
-
Siga http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-notifications/#sending-notifications para enviar notificaciones desde el servidor
-
Nota: las notificaciones push desde el servidor MFP se utilizan para habilitar el servicio de notificaciones. Por lo tanto, si antes se ha utilizado el servicio de notificaciones push de IBM Cloud, siga el enlace para configurar las notificaciones en el servidor MFP http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-notifications/#setting-up-notifications.
▲Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.