feat: new Local Notifications Capacitor plugin - #1
Open
alexgerardojacinto wants to merge 27 commits into
Open
Conversation
Additive, non-breaking changes over @capacitor/local-notifications 8.2.1: - new methods: update, cancelAll, getByIds, getAll, removeDeliveredNotificationsById - new schema fields: badge, foreground; new schedule option exactAlarm (+ result warning) - implicit notification-permission request on schedule/update - OS-PLUG-LNOT-NNNN structured error codes - Android implementation ported to Kotlin
…tead of rejecting For a schedule 'at' in the past, both plugins now deliver the notification immediately (nil trigger on iOS; alarm at now on Android) instead of failing with OS-PLUG-LNOT-0005. This matches the katzer/ODC legacy behavior consumers relied on and is non-breaking. Removed the now-dead SCHEDULE_IN_PAST / scheduleInPast error entries. Consistent across Capacitor + Cordova, iOS + Android.
…tely instead of rejecting" This reverts commit 175ae2e.
ODC/MABS installs the Capacitor plugin from the feature-branch git URL, and a git install does not build dist (no prepare script), so the plugin shipped no JavaScript — causing a runtime ReferenceError in Capacitor apps. Ship the built dist/ on the branch (as an npm package would). Revert once published to npm.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
dist/directory will be removed before merging, it's there so we can use this branch for builds instead of having to release to NPMChange Type
Rationale / Problems Fixed
Tests or Reproductions
Screenshots / Media
Platforms Affected
Notes / Comments