Comments (3)
Closing, as i added more details in #29792
from expo.
Re-opening, something is wrong here and i'm not sure what
from expo.
Hi @kiorq any updates ?
I also stried with a development build on iOS and my background task is not running.
I add this in the default layout :
const BACKGROUND_NOTIFICATION_TASK = 'BACKGROUND-NOTIFICATION-TASK'
TaskManager.defineTask(
BACKGROUND_NOTIFICATION_TASK,
({ data, error, executionInfo }) => {
console.log('Received a notification in the background!')
// Do something with the notification data
}
)
ExpoNotifications.registerTaskAsync(BACKGROUND_NOTIFICATION_TASK)
But nothing logged in console when I receive a notification
I also add in app.config.js
infoPlist: {
UIBackgroundModes: ['remote-notification'],
}
Am i misunderstanding something ?
from expo.
Related Issues (20)
- Expo-av not playing on Android Expo Go and Android Emulator
- Expo-av do not record in background for Android HOT 3
- Unsupported Swift Version HOT 3
- a question about Expo-sqlite serializeAsync method HOT 1
- Using native and react components HOT 1
- [docs] Expo SystemUI has tvOS support in docs, but package has not HOT 1
- run:android gets stuck HOT 1
- [docs] "Wrap third-party native libraries" strangely misleading
- Error ERR_NOTIFICATIONS_NO_EXPERIENCE_ID during getExpoPushTokenAsync HOT 1
- Cant connect to Server HOT 1
- Replace not working with nested stack and tab navigators but navigate works. HOT 1
- Many unsupported, broken packages are dependencies when running create-expo-app HOT 1
- [expo-video] Downloaded video does not play on Android HOT 2
- Android Preview APK build failing locally HOT 4
- Unable to resold expo-router/entry
- Possible Unhandled Promise Rejection on Android with Expo, Keycloak, and expo-auth-session HOT 1
- Expo API Router Vercel Deployment fails with ESM HOT 1
- Expo does not take gps position in the background. HOT 1
- hey, i face a small problem, Unable to resolve module @src
- expo-media-library is throwing an error without any useful details HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.