【问题标题】:How to get push notification in a mobile App (React Native or Ionic) using Spring Boot Rest API如何使用 Spring Boot Rest API 在移动应用程序(React Native 或 Ionic)中获取推送通知
【发布时间】:2019-07-11 10:38:13
【问题描述】:

我正在尝试使用 Spring Boot 服务器和 MySQL 数据库在 React-Native 中创建推送通知。

我想知道如何设置我的 Spring Boot Rest API 以便能够向使用 React-Native 编码的前端发送推送通知。有什么技术可以用来实现吗?或者如何在 Spring Boot 中编写代码?

【问题讨论】:

    标签: mysql spring-boot react-native


    【解决方案1】:

    您可以使用 google 的 Firebase 推送通知 (FCM) 来实现相同的目的。

    浏览下面的文章,它提供了 Spring Boot 作为后端和前端作为 React Native 的所有信息,

    https://grokonez.com/spring-framework/spring-boot/firebase-cloud-messaging-server-spring-to-push-notification-example-spring-boot

    https://medium.com/@anum.amin/react-native-integrating-push-notifications-using-fcm-349fff071591

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-27
      • 1970-01-01
      • 2020-09-11
      • 2015-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多