This repository was archived by the owner on Jan 14, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
on press localNotificaton don't work on android #2188
Labels
Comments
Hi @IsmetGlumcevic |
I have id: '45id-45rr-33hf-34wd', which format can I put in id? I try with dot, comma.... There is function:
|
The fornat/type is described in the readme. |
here dont working too onPress call: async function handleComplete() {
console.log('test')
PushNotification.localNotification({
channelId: 'default-channel',
title: 'testnotify',
message: 'test'
})
} my config: PushNotification.configure({
permissions: {
alert: true,
badge: true,
sound: true,
},
requestPermissions: false,
}); |
@IsmetGlumcevic did you found a solution? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
When calling localNotificationSchedule in context provider it works, when calling localNotificationSchedule onPress inside component it doesn't work on android. Ios work well.
MacBook air m1
react-native: 0.64
react-native-push-notification: 8.1.1
react-native-community/push-notification-ios: 1.10.1
index.js
Contex provider:
component
The text was updated successfully, but these errors were encountered: