Skip to content

Moo 1800/update dependencies #262

New issue

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

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

karahanharunn
Copy link
Contributor

In this pr, I've updated the following dependencies.

react-native-push-notification ( migrated to notifee )
@react-native-community/push-notification-ios ( mgirated to notifee )
react-native-device-info
react-native-sound ( migrated to track-player )
react-native-linear-gradient

@karahanharunn karahanharunn requested a review from a team as a code owner April 15, 2025 12:58
Harun.Karahan and others added 5 commits April 16, 2025 10:04

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
vadymv-mendix
vadymv-mendix previously approved these changes Apr 24, 2025
}

const notification = { message: body } as PushNotificationObject;
const channelId = "mendix-local-notifications";
await createNotificationChannelIfNeeded(channelId);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that the channel is Android specific I'd call this function only when we're running on Android.

return Promise.reject(new Error("Notifications module is not available in your app"));
}
const channelId = "mendix-local-notifications";
await createNotificationChannelIfNeeded(channelId);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, it's applicable only to Android so we need to add a platform check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants