We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Notifications.scheduleNotificationAsync when called 2nd time resulted in undefined is not a function at getRandomBase64
To Reproduce Steps to reproduce the behavior: const notificationContent1 = { title: 'Notification 1', body: 'This is notification 1.', identifier: 'notification_1', };
const notificationReq1 = await Notifications.scheduleNotificationAsync({ content: notificationContent1, trigger: { seconds: 30, }, }); console.log( "notificationReq1:", notificationReq1 ); const notificationContent2 = { title: 'Notification 2', body: 'This is notification 2.', identifier: 'notification_2', }; const notificationReq2 = await Notifications.scheduleNotificationAsync({ content: notificationContent2, trigger: { seconds: 60, }, }); console.log( "notificationReq2:", notificationReq2 );
Expected behavior A news Notification has to be set.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information): Android
Smartphone (please complete the following information): Android
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
having same issue, scheduleNotificationAsync works fine on first call but returns TypeError: undefined is not a function on second call.
Sorry, something went wrong.
any fixes?
No branches or pull requests
Describe the bug
Notifications.scheduleNotificationAsync when called 2nd time resulted in undefined is not a function at getRandomBase64
To Reproduce
Steps to reproduce the behavior:
const notificationContent1 = {
title: 'Notification 1',
body: 'This is notification 1.',
identifier: 'notification_1',
};
Expected behavior
A news Notification has to be set.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Android
Smartphone (please complete the following information):
Android
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: