I
I
Ilya2019-06-09 14:10:18
React Native
Ilya, 2019-06-09 14:10:18

How to Implement Background Fetch in React Native | Expo?

There was a task to make push notifications when the application is completely turned off.
That is, you need to implement some kind of Background Task Manager that will check for new notifications for a specific user at intervals, for example, per minute. In simple words, make a background fetch.
Previously, I already implemented push notifications in the application. But they only work when the application is enabled or simply minimized. When the application is completely disabled Push does not work.
Has anyone already done this?
I use Expo for this project.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2019-06-09
@RomReed

there is a react-native-firebase library and so it somehow shows push notifications even when the application is unloaded from memory. To install it, you will have to dance specifically with a tambourine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question