Title: Fusion Web App
Author: maurohmartinez
Published: <strong>2020 年 7 月 13 日</strong>
Last modified: 2020 年 11 月 24 日

---

搜索插件

![](https://ps.w.org/fusion-web-app/assets/banner-772x250.png?rev=2339481)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/fusion-web-app/assets/icon-256x256.png?rev=2339481)

# Fusion Web App

 作者：[maurohmartinez](https://profiles.wordpress.org/maurohmartinez/)

[下载](https://downloads.wordpress.org/plugin/fusion-web-app.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/fusion-web-app/#description)
 * [评价](https://cn.wordpress.org/plugins/fusion-web-app/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/fusion-web-app/#developers)

 [支持](https://wordpress.org/support/plugin/fusion-web-app/)

## 描述

This is a free plugin to send push notifications using Expo Api https://expo.io/
notifications. In order to use this plugin, you need an App built with React Native
and Expo. This plugin creates an API to interact with your native App and stores
users unique push tokens to eb able to send them notifications from your Admin Panel.

### Characteristics

 1. Send push notifications
 2. Register screens for your App and redirect users to specific content when they 
    open notifications.
 3. Keep track of all your notifications sent and the users registered to your App.
 4. Save unfinished push notifications as draft and return later to finish and send
    them.

### Rest API

Fusion Web App registers the next API routes for you to connect to your wordpress
site.

Note: We strongly recommend to use htpps in order to protect your site.

**– your_site/wp-json/app/appregister-user-token**
 Type: POST Action: It registers
the user’s push token and stores the information in the database. Authentication:
Basic authentification by providing user credentials. Response: [success: true] –
status 201. Else [success: false, error: error_code] – status 201. Params: $username:
A real active user in your wordpress site. It does not need to have admin roles,
a subscriber is enough. $password: The password for the user provided. $installation_id:
The Expo installation ID. Use import Constants from ‘expo-constants’; Constants.
installationId. $name_device: The name of the user’s device Use import Constants
from ‘expo-constants’; Constants.deviceName. $platform: only accepts ‘ios’ or ‘android’.
Use import { Platform } from ‘react-native’; Platform.OS. $token: Expo push notification
token. For more info on this read the [documentation](https://docs.expo.io/versions/latest/sdk/notifications/).

**– your_site/wp-json/app/remove-user-token**
 Type: POST Authentication: Basic 
authentification by providing user credentials. Response: [device_removed: true]–
status 201. Else [device_removed: false, error: error_code] – status 201. Action:
It removes the user’s push token. Use this route when your users logout from your
application and stop sending them push notifications. Also, you can use it in case
your app allows users to choose whether to receive or not notifications in the settings.
Params: $username: A real active user in your wordpress site. It does not need to
have admin roles, a subscriber is enough. $password: The password for the user provided.
$installation_id: The Expo installation ID. Use import Constants from ‘expo-constants’;
Constants.installationId. $token: Expo push notification token. For more info on
this read the [documentation](https://docs.expo.io/versions/latest/sdk/notifications/).

**– your_site/wp-json/app/get-main-categories**
 Type: GET Authentication: None 
Response: Array([‘blogs’ => $blogs, ‘audios’ => $audios, ‘videos’ => $videos ]) 
Action: Use this route to fetch the main categories (those without parents) of your
website. Params: None.

## 屏幕截图

 * [[
 * This screen shot description corresponds to screenshot-1.(png).
 * [[
 * This screen shot description corresponds to screenshot-2.(png).
 * [[
 * This screen shot description corresponds to screenshot-3.(png).

## 常见问题

### How can I use it?

In order to use this plugin, you need an App built with React Native and Expo. This
plugin creates an API to interact with your native App and stores users unique push
tokens to eb able to send them notifications from your Admin Panel.

### Is it free?

Yes.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Fusion Web App」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ maurohmartinez ](https://profiles.wordpress.org/maurohmartinez/)

[帮助将「Fusion Web App」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/fusion-web-app)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/fusion-web-app/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/fusion-web-app/)，或通过[RSS](https://plugins.trac.wordpress.org/log/fusion-web-app/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/fusion-web-app/)。

## 更新日志

#### 1.0.0

First realease.

#### 1.0.1

Push token fixed.

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**5 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/fusion-web-app/)
 * 标签
 * [app](https://cn.wordpress.org/plugins/tags/app/)[connect](https://cn.wordpress.org/plugins/tags/connect/)
   [expo](https://cn.wordpress.org/plugins/tags/expo/)[push notifications](https://cn.wordpress.org/plugins/tags/push-notifications/)
   [web](https://cn.wordpress.org/plugins/tags/web/)
 *  [高级视图](https://cn.wordpress.org/plugins/fusion-web-app/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/fusion-web-app/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/fusion-web-app/reviews/)

## 贡献者

 *   [ maurohmartinez ](https://profiles.wordpress.org/maurohmartinez/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/fusion-web-app/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.me/maurohmartinez)