Push notification

Hello,

I have an android app created using react. The app contains a wordpress web site and enable push notification on mobile device. A push notification is generated on device when an article is published.

The app works but, starting from a specifi…


This content originally appeared on DEV Community and was authored by Salvo One thousand

Hello,

I have an android app created using react. The app contains a wordpress web site and enable push notification on mobile device. A push notification is generated on device when an article is published.

The app works but, starting from a specific moment (maybe after a wordpress core upgrade), the push notifications doesn't work anymore.

I didn't develop the app and I'm noto an expert in mobile app developing but I have the source code of the package.

Someone can help me understanding and repair?

Furthermore I don't know how to test the mobile app to verify the app behaviour in a virtual dev environmet.

Following the libraries used in the mobile app:

App.js:
import React, { useEffect, useState } from "react";
import {SafeAreaView, StyleSheet, View} from "react-native";
import messaging from "@react-native-firebase/messaging";
import analytics from "@react-native-firebase/analytics"
import { NativeBaseProvider } from "native-base/src/core/NativeBaseProvider";
import RNBootSplash from "react-native-bootsplash";
import AppWebView from "./components/AppWebView";
import {configureNotifs, LocalNotification} from "./notifications/LocalPushController";

LocalPushController.js:
import PushNotification, {Importance} from 'react-native-push-notification'


This content originally appeared on DEV Community and was authored by Salvo One thousand


Print Share Comment Cite Upload Translate Updates
APA

Salvo One thousand | Sciencx (2024-09-12T09:04:21+00:00) Push notification. Retrieved from https://www.scien.cx/2024/09/12/push-notification/

MLA
" » Push notification." Salvo One thousand | Sciencx - Thursday September 12, 2024, https://www.scien.cx/2024/09/12/push-notification/
HARVARD
Salvo One thousand | Sciencx Thursday September 12, 2024 » Push notification., viewed ,<https://www.scien.cx/2024/09/12/push-notification/>
VANCOUVER
Salvo One thousand | Sciencx - » Push notification. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/09/12/push-notification/
CHICAGO
" » Push notification." Salvo One thousand | Sciencx - Accessed . https://www.scien.cx/2024/09/12/push-notification/
IEEE
" » Push notification." Salvo One thousand | Sciencx [Online]. Available: https://www.scien.cx/2024/09/12/push-notification/. [Accessed: ]
rf:citation
» Push notification | Salvo One thousand | Sciencx | https://www.scien.cx/2024/09/12/push-notification/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.