- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
40 KiB
Changelog
Unpublished
🛠 Breaking changes
🎉 New features
🐛 Bug fixes
💡 Others
0.28.19 — 2024-10-22
🐛 Bug fixes
0.28.18 — 2024-10-01
🎉 New features
- Add clearLastNotificationResponseAsync to API. (#31607 by @douglowder)
🐛 Bug fixes
0.28.17 — 2024-09-17
🐛 Bug fixes
- [Android] image was missing on android when in foreground (#31405 by @vonovak)
- [Android] fix local notifications with null trigger. (#31157 by @douglowder)
- [Android] Take
channelIdinto account when presenting notifications. (#31201 by @vonovak)
0.28.16 — 2024-08-21
🐛 Bug fixes
- [Android] Fix content.data in scheduled notifications surfaced to JS. (#31048 by @douglowder)
0.28.15 — 2024-08-05
🐛 Bug fixes
- [Android] Eliminate unsupported types when processing notification intents from onCreate/onNewIntent. (#30750 by @douglowder)
0.28.14 — 2024-07-30
🐛 Bug fixes
useLastNotificationResponseshould have only one effect. (#30653 by @douglowder)
0.28.13 — 2024-07-29
🐛 Bug fixes
- [Android] map Expo and Firebase notifications correctly. (#30615 by @douglowder)
- [Android] Apply requested changes from #30615. (#30658 by @lukmccall)
0.28.12 — 2024-07-25
🐛 Bug fixes
- [Android] Android 11 crash when click foreground notifications. (#30207 by @GrinZero)
- Notification's textInput content would contain
placeholderinstead of the actual user input (#27479 by @Victor-FT)
0.28.11 — 2024-07-22
🐛 Bug fixes
- [Android] Fix serialization of vibration pattern. (#30495 by @douglowder)
0.28.10 — 2024-07-15
🐛 Bug fixes
- [Android] fix getLastNotificationResponseAsync. (#30301 by @douglowder)
0.28.9 — 2024-06-12
This version does not introduce any user-facing changes.
0.28.8 — 2024-06-10
🐛 Bug fixes
- [Android] Add default channel plugin prop, restore legacy icon and color. (#29491 by @douglowder)
0.28.7 — 2024-06-05
🐛 Bug fixes
- Remove console.log line. (#29443 by @douglowder)
0.28.6 — 2024-06-03
🐛 Bug fixes
- [Android] Remove unneeded logging. (#29370 by @douglowder)
0.28.5 — 2024-05-31
🐛 Bug fixes
- [Android] Fix FCMv1 icons and NPE. (#29204 by @douglowder)
0.28.4 — 2024-05-29
🐛 Bug fixes
- [Android] Correctly map response in useLastNotificationResponse hook. (#28938 by @douglowder)
💡 Others
- [iOS] Add support for
interruptionLevel. (#28921 by @lukmccall)
0.28.2 — 2024-05-15
🐛 Bug fixes
- [Android] fix response handling when app in background or not running. (#28883 by @douglowder)
0.28.1 — 2024-04-23
This version does not introduce any user-facing changes.
0.28.0 — 2024-04-18
🐛 Bug fixes
- [Android] Fix notifications events were using an incorrect event emitter. (#28207 by @lukmccall)
💡 Others
- [iOS] Add privacy manifest describing required reason API usage. (#27770 by @aleqsio)
- drop unused web
nameproperty. (#27437 by @EvanBacon) - Removed deprecated backward compatible Gradle settings. (#28083 by @kudo)
0.27.5 - 2024-01-25
This version does not introduce any user-facing changes.
0.27.4 - 2024-01-20
🐛 Bug fixes
- Throw
UnavailabilityErrorwhen trying to usesetNotificationCategoryAsyncon web. (#26511 by @marklawlor) - Remove
.nativehardcoded platform imports (#26511 by @marklawlor) - On
Android, added events to module definition to clear warnings. (#26654 by @alanjhughes)
0.27.3 - 2024-01-10
🐛 Bug fixes
- [Android] Fix
expo-notificationsrequiring theexpo-task-managermodule to start. (#26227 by @behenate)
0.27.2 - 2023-12-19
This version does not introduce any user-facing changes.
0.27.1 — 2023-12-13
This version does not introduce any user-facing changes.
0.27.0 — 2023-12-12
🐛 Bug fixes
- On
Android, maketokenManagernullable to prevent crash if we can't find it. (#25860 by @alanjhughes)
0.26.0 — 2023-11-14
🛠 Breaking changes
- Bumped iOS deployment target to 13.4. (#25063 by @gabrieldonadel)
- On
AndroidbumpcompileSdkVersionandtargetSdkVersionto34. (#24708 by @alanjhughes)
0.25.0 — 2023-10-17
🛠 Breaking changes
🐛 Bug fixes
- Send background notifications through when the app is in the foreground (#24684 by @kadikraman)
💡 Others
- Migrated codebase to use Expo Modules API. (#24499 by @lukmccall)
0.24.2 — 2023-09-18
This version does not introduce any user-facing changes.
0.24.1 — 2023-09-15
💡 Others
- Remove legacy expo package notifications module code. (#24325 by @wschurman)
0.24.0 — 2023-09-15
This version does not introduce any user-facing changes.
0.23.0 — 2023-09-04
🎉 New features
🐛 Bug fixes
- Fix server rendering with Metro web. (#24195 by @EvanBacon)
0.22.0 — 2023-08-02
This version does not introduce any user-facing changes.
0.21.0 — 2023-07-28
💡 Others
- Fork
uuid@3.4.0and move intoexpo-modules-core. Remove the original dependency. (#23249 by @alanhughes)
0.20.1 — 2023-06-24
This version does not introduce any user-facing changes.
0.20.0 — 2023-06-21
🐛 Bug fixes
0.19.0 — 2023-05-08
🛠 Breaking changes
- Removed the deprecated
ExpoPushTokenOptions.experienceIdfield. (#22303 by @gabrieldonadel)
💡 Others
- Update fixtures. (#21397 by @EvanBacon)
- Warn on use of Constants.manifest. (#22247 by @wschurman)
0.18.1 — 2023-02-09
💡 Others
0.18.0 — 2023-02-03
💡 Others
- Update
getExpoPushTokenAsyncto makeprojectIdrequired. (#20833 by @gabrieldonadel) - On Android bump
compileSdkVersionandtargetSdkVersionto33. (#20721 by @lukmccall) - Add JSDoc comments, perform type changes related to documentation autogeneration. (#21002 by @Simek)
0.17.0 — 2022-10-25
🛠 Breaking changes
- [plugin] Upgrade minimum runtime requirement to Node 14 (LTS). (#18204 by @EvanBacon)
- Bumped iOS deployment target to 13.0 and deprecated support for iOS 12. (#18873 by @tsapeta)
🐛 Bug fixes
- Fixed build error for setting
compileSdkVersionto 33. (#19432 by @kudo) - Fixed the
POST_NOTIFICATIONSruntime permission integration whentargerSdkVersionis set to 33. (#19672 by @kudo, @kudo) - Fixed
projectIdvariable not found reference error when using development builds. (#20276 by @amandeepmittal)
💡 Others
- [plugin] Migrate import from @expo/config-plugins to expo/config-plugins and @expo/config-types to expo/config. (#18855 by @brentvatne)
- Drop
@expo/config-pluginsdependency in favor of peer dependency onexpo. (#18595 by @EvanBacon)
0.16.1 — 2022-07-16
This version does not introduce any user-facing changes.
0.16.0 — 2022-07-07
🛠 Breaking changes
- [android] Set the "notification number" (sometimes used to increment badge count on some launchers) from the notification payload
badgefield. (#17171 by @danstepanov)
🐛 Bug fixes
- Fixed Android 12+ runtime crash caused by
PendingIntentmisconfiguration. (#17333 by @kudo) - Fix app not bringing to foreground when clicking notification on Android 12+. (#17686 by @kudo)
- Fixed Android data-only FCM notifications (i.e. notifications without a title and message) appearing in the notification drawer (#17707 by @sausti)
- Add support for unregistering from push notifications on Android and iOS (#17812 by @sausti)
- Fix another Android 12+ trampoline issue from push notifications. (#17871 by @kudo)
- Fixed
useLastNotificationResponsereturns latest received notification but not the clicked notification on Android. (#17974 by @kudo)
⚠️ Notices
- Fixed exception on Android 12+ devices for missing
SCHEDULE_EXACT_ALARMpermission. IfscheduleNotificationAsyncneeds a precise timer, theSCHEDULE_EXACT_ALARMshould be explicitly added to AndroidManifest.xml. (#17334 by @kudo)
0.15.1 — 2022-04-27
💡 Others
- Remove badge deadcode (#17205 by @wschurman)
0.15.0 — 2022-04-18
🐛 Bug fixes
- Upgrade firebase messaging dependency to v21. This means
expo-notificationsno longer relies onFirebaseInstanceId. If you addedcom.google.firebase:firebase-iidto yourandroid/app/build.gradlefile for this library, it is no longer required and you can safely remove that dependency. (#15010 by @cruzach)
💡 Others
- Updated
@expo/config-pluginsfrom4.0.2to4.0.14and@expo/image-utilsfrom^0.3.16to^0.3.18(#15621 by @EvanBacon)
⚠️ Notices
- On Android bump
compileSdkVersionto31,targetSdkVersionto31andJavaversion to11. (#16941 by @bbarthec)
0.14.1 - 2022-02-01
🐛 Bug fixes
0.14.0 — 2021-12-03
💡 Others
0.13.1 — 2021-10-01
This version does not introduce any user-facing changes.
0.13.0 — 2021-09-28
🛠 Breaking changes
🎉 New features
- Update JS code to read manifest2 when manifest is not available. (#13602 by @wschurman)
- Add usePermissions hook from modules factory. (#13863 by @bycedric)
🐛 Bug fixes
- Fixed Android notifications not respecting the
shouldPlaySoundproperty insetNotificationHandler. (#13411 by @cruzach) - Force device ID to lowercase before sending to Expo's servers. (Only applicable if you're using
ExpoPushTokens). (#13409 by @cruzach) - Fixed plugin to not throw if the notification icon isn't set, and there's no notification icon present in the Android project. (#13539 by @cruzach)
- Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)
💡 Others
- Updated
@expo/config-plugins,@expo/image-utils(#14443 by @EvanBacon)
0.12.0 — 2021-06-16
🎉 New features
- [plugin] Refactor imports (#13029 by @EvanBacon)
- Add support for custom notification sounds when using EAS Build. (#12782 by @cruzach)
- Added ability to respond to remote notifications received while the app is backgrounded. (#13130 by @cruzach)
🐛 Bug fixes
- Enable kotlin in all modules. (#12716 by @wschurman)
- Add new manifest2 field and make existing field optional. (#12817 by @wschurman)
- Use originalFullName instead of currentFullName (#12953) by @wschurman)
💡 Others
- Migrated from
unimodules-permissions-interfacetoexpo-modules-core. (#12961 by @tsapeta) - Refactored uuid imports to v7 style. (#13037 by @giautm)
0.11.5 — 2021-04-13
This version does not introduce any user-facing changes.
0.11.4 — 2021-04-09
🎉 New features
- Add bare workflow support to
getExpoPushTokenAsync. (#12465 by @EvanBacon)
0.11.3 — 2021-03-31
This version does not introduce any user-facing changes.
0.11.2 — 2021-03-30
🐛 Bug fixes
- Fixed an issue on Android where dismissing notifications by ID inside of Expo Go did nothing. ([#12306](https://github.com/expo/expo/pull/12306 by @cruzach)
0.11.1 — 2021-03-23
🎉 New features
- Expose
getLastNotificationResponseAsyncmethod (non-hook version ofuseLastNotificationResponse).
🐛 Bug fixes
- Prevent scoped category IDs from being returned from
setNotificationCategoryAsync. ([#12212](https://github.com/expo/expo/pull/12212 by @cruzach)
0.11.0 — 2021-03-10
🎉 New features
- Allow for remote notifications to overwrite notifications already existing in the tray. (#12050 and #12055 by @cruzach)
- Notifications from different experiences in Expo Go can no longer overwrite each other. (#12050 and #12055 by @cruzach)
0.10.0 — 2021-03-03
🎉 New features
- Updated Android build configuration to target Android 11 (added support for Android SDK 30). (#11647 by @bbarthec)
- Added
YearlyTriggerInputthat allows scheduling a yearly recurring notification for a specific day of the year, hour and minute. It is supported on both iOS and Android. (#11898 by @raulmt)
🐛 Bug fixes
- Notification categories will no longer be lost after ejecting to the bare workflow (if ejecting after SDK 41). (#11651 by @cruzach)
- Notify all listeners of pending notification responses. (#11536 by @esamelson)
0.9.0 — 2021-01-15
⚠️ Notices
- The package is now shipped with prebuilt binaries on iOS. You can read more about it on expo.fyi/prebuilt-modules. (#11224 by @tsapeta)
🛠 Breaking changes
- Dropped support for iOS 10.0 (#11344 by @tsapeta)
- When migrating installation identifier (used internally to fetch Expo push token)
expo-notificationswill now remove existingSharedPreferencesentry, if the migrated identifier comes from there. This may cause issues in bare workflow projects ifexpo-constantsis installed in version lower than10.0.0. Please upgradeexpo-constantsin your project to at least10.0.0when installing new versions ofexpo-notifications. If you do not upgradeexpo-constants, its.installationIdmay change. (#11283 by @sjchmiela)
🎉 New features
- Created config plugin. (#11633 by @EvanBacon)
🐛 Bug fixes
- Fixed a case where
requestPermissionsAsyncwould ignore the providedNotificationPermissionsRequest. (#11548 by @cruzach) - Fixed case on Android where
getPermissionsAsyncwould always returncanAskAgain: true. (#11551 by @cruzach) - Fixed migration process to not use
expo-constantsinstallation ID if there is a notifications-specific identifier. (#11287 by @sjchmiela) - Native iOS notifications emitter module no longer registers for notification events as soon as module registry is ready which fixes initial notification response not being delivered to JS in standalone (Expo managed workflow) iOS apps. (#11382 by @sjchmiela)
- Changed the visibility of Android's
InstallationId#getNonBackedUpUuidFilemethod so it's easier to override by custom implementations. (#11249 by @sjchmiela) - Added extra check for marking pending notification responses as delivered which prevents legacy Expo notifications to consume notification responses when we don't want it to which should help fix initial notification response (causing the application to start) not being delivered (only in iOS standalone applications in Expo managed workflow). (#11378 by @sjchmiela)
- Removed
fbjsdependency (#11396 by @cruzach)
0.8.2 — 2020-11-30
🐛 Bug fixes
0.8.1 — 2020-11-25
This version does not introduce any user-facing changes.
0.8.0 — 2020-11-17
🛠 Breaking changes
-
Changed the way
PermissionResponse.statusis calculated on iOS. Previously, it returns the numeric value ofUMPermissionStatuswhich does not match the TypeScript enum declaration. (#10513 by @cHaLkdusT) -
Changed the way
NotificationContent.datais calculated on iOS. Previously it was the contents of remote notification payload with all entries from under"body"moved from under"body"to root level. Now it's the sole unchanged contents ofpayload["body"]. Other fields of the payload can now be accessed on iOS throughPushNotificationTrigger.payload(similarly to how other fields of native remote message can be accessed on Android underPushNotificationTrigger.remoteMessage). (#10453 by @sjchmiela) -
Changed class responsible for handling Firebase events from
FirebaseMessagingServiceto.service.NotificationsServiceon Android. (#10558 by @sjchmiela)Note that this change most probably will not affect you — it only affects projects that override
FirebaseMessagingServiceto implement some custom handling logic. -
Changed how you can override ways in which a notification is reinterpreted from a
StatusBarNotificationand in which aNotificationis built from defining anexpo.modules.notifications#NotificationsScopermeta-data value inAndroidManifest.xmlto implementing aBroadcastReceiversubclassingNotificationsServicedelegating those responsibilities to your customPresentationDelegateinstance. (#10558 by @sjchmiela)Note that this change most probably will not affect you — it only affects projects that override those methods to implement some custom handling logic.
-
Removed
removeAllNotificationListenersmethod. You can (and should) still remove listeners usingremovemethod onSubscriptionobjects returned byaddNotification…Listener. (#10883 by @sjchmiela) -
Fixed device identifier being used to fetch Expo push token being backed up on Android which resulted in multiple devices having the same
deviceId(and eventually, Expo push token). (#11005 by @sjchmiela) -
Fixed device identifier used when fetching Expo push token being different than
Constants.installationIdin managed workflow apps which resulted in different Expo push tokens returned for the same experience across old and new Expo API and the device push token not being automatically updated on Expo push servers which lead to Expo push tokens corresponding to outdated Firebase tokens. (#11005 by @sjchmiela) -
Removed
removeAllPushTokenListenersmethod. You can (and should) still remove listeners usingremovemethod onSubscriptionobjects returned byaddPushTokenListener. (#11106 by @sjchmiela)
🎉 New features
- Added
useLastNotificationResponseReact hook that always returns the notification response that has been emitted most recently. (#10883 by @sjchmiela) - Added
WeeklyTriggerInputthat allows scheduling a weekly recurring notification for a specific day of week, hour and minute. It is supported on both iOS and Android. (#9973 by @RikTheunis) - Added
getNextTriggerDateAsyncmethod allowing you to verify manually when would the next trigger date for a particular notification trigger be. (#10455 by @sjchmiela) - Added support for restoring scheduled notifications alarms on Android after an app is updated. (#10708 by @sjchmiela)
- Added support for auto server reregistration for Expo push tokens (keeping Expo push token always valid) and auto server registration customizations. (#10908 by @sjchmiela)
🐛 Bug fixes
- Fixed TypeScript definition:
setNotificationCategoryAsyncshould expectoptions.allowAnnouncement, notoptions.allowAnnouncment. (#11025 by @cruzach) - Fixed issue where custom notification icon and color weren't being properly applied in Android managed workflow apps. (#10828 by @cruzach)
- Fixed case where Android managed workflow apps could crash when receiving an interactive notification. (#10608 by @cruzach)
- Fixed case where Android apps could crash if you set a new category with a text input action without providing any
options. (#10141 by @cruzach) - Android apps no longer rely on the
submitButtonTitleproperty as the action button title (they rely onbuttonTitle, which matches iOS behavior). (#10141 by @cruzach) - Fixed
Notifications.requestPermissions()returningundeterminedinstead of a known status in some browsers. (#10296 by @sjchmiela) - Fixed crashing when Proguard is enabled. (#10421 by @lukmccall)
- Fixed the application icon being always added as a notification icon. (#10471 by @lukmccall)
- Fixed faulty trigger detection mechanism which caused some triggers with
channelIdspecified get recognized as triggers of other types. (#10454 by @sjchmiela) - Fixed fatal exception sometimes being thrown when notification was received or tapped on Android due to observer being cleared before it's added. (#10640 by @sjchmiela)
- Removed the large icon from managed workflow. (#10492 by @lukmccall)
- Fixed crash happening due to non-existent
ExpoNotificationsServicebeing declared inAndroidManifest.xml. (#10638 by @sjchmiela) - Fixed notifications not playing any sound when
shouldShowAlert: falsebutshouldPlaySound: trueinsetNotificationHandler. (#10699 by @cruzach) - Add guard against badgin usage in SSR environments. (#10741 by @bycedric)
- Moved notification events handling from main thread to a background thread which makes users' devices more responsive. (#10762 by @sjchmiela)
- Fixed having to define
CATEGORY_DEFAULTon anActivitythat is expected to receiveexpo.modules.notifications.OPEN_APP_ACTIONintent when handling notification response. (#10755 by @sjchmiela) - Fixed notifications not being returned at all from
getAllPresentedNotificationsAsync()if the library fails to reconstruct notification request based on marshaled copy in notification data. From now on they'll be naively reconstructed from the Android notification. (#10801 by @sjchmiela) - May have helped fix an issue where "initial notification response" (the one that opened the app) was not being delivered to Android apps. (#10773 by @sjchmiela)
0.7.1 — 2020-08-26
This version does not introduce any user-facing changes.
0.7.0 — 2020-08-18
🎉 New features
- Added permissions support for web. (#9576 by @EvanBacon)
🐛 Bug fixes
- Fix scheduled notifications not being displayed after five minutes of phone inactivity on Android. (#9816 by @sjchmiela)
- Fixed case where iOS notification category would not be set on the very first call to
setNotificationCategoryAsync. (#9515 by @cruzach) - Fixed notification response listener not triggering in the managed workflow on iOS when app was completely killed (#9478 by @cruzach)
- Fixed notifications being displayed when
shouldShowAlertwasfalseon Android. (#9563 by @barthap) - Fixed
Application Not Respondingoccurring in the Google Play Console. (#9792 by @lukmccall)
0.6.0 — 2020-07-29
🎉 New features
- Added Notification categories functionality to allow for interactive push notifications on Android and iOS! (#9015 by @cruzach)
- Added support for channels to local notifications. (#9385 by @lukmccall)
0.5.0 — 2020-07-27
🎉 New features
- Added support for custom large icon on the Android. (#9116 by @lukmccall)
- Added
stickyproperty, which defines if notification can be dismissed by swipe. (#9351 by @barthap)
🐛 Bug fixes
- Fix notifications not being displayed after five minutes of phone inactivity on Android. (#9287 by @mczernek)
- Include
content-type: application/jsonwhen requesting an Expo push token (#9332 by @ide) - Export
NotificationPermissions.typesto makeNotifications.IosAuthorizationStatusavailable. (#8747 by @brentvatne) - Fixed remote notifications ignoring the
channelIdparameter. (#9080 by @lukmccall) - Fixed malformed data object on iOS. (#9164 by @lukmccall)
0.4.0 — 2020-06-24
🎉 New features
- Added
IosAuthorizationStatus.EPHEMERAL, an option that maps toUNAuthorizationStatusEphemeralfor compatibility with iOS 14. (#8938 by @ide)
🐛 Bug fixes
- Fixed total incompatibility with the web platform – calling unsupported methods will now throw a readable
UnavailabilityError. (#8853 by @sjchmiela)
0.3.2 — 2020-06-10
🐛 Bug fixes
- Fixed compatibility with
expo-permissionsbelow9.0.0(the duplicate symbols problem). (#8753 by @sjchmiela)
0.3.1 — 2020-06-03
🎉 New features
- Added support for including foreign (non-
expo-notifications-created) notifications ingetPresentedNotificationsAsyncon Android. (#8614 by @sjchmiela)
🐛 Bug fixes
- Fixed
getExpoPushTokenAsyncrejecting whengetDevicePushTokenAsync'sPromisehasn't fulfilled yet (and vice versa). Probably also added support for calling these methods reliably with Fast Refresh enabled. (#8608 by @sjchmiela)
0.3.0 — 2020-05-28
🎉 New features
-
Added native permission requester that will let developers call
Permissions.getAsync(Permissions.NOTIFICATIONS)(oraskAsync) when this module is installed. (#8486 by @sjchmiela)Note that the effect of this method is the same as if you called
Notifications.getPermissionsAsync()(orrequestPermissionsAsync) and thenNotifications.getDevicePushTokenAsync()—it tries to both ask the user for user-facing notifications permissions and then tries to register the device for remote notifications. We are planning to deprecate the.NOTIFICATIONSpermission soon.
0.2.0 — 2020-05-27
🛠 Breaking changes
-
Note that this may or may not be a breaking change for you — if you'd expect the notification to be automatically dismissed when tapped on this is a bug fix and a new feature (fixes inconsistency between platforms as on iOS this is the only supported behavior; adds the ability to customize the behavior on Android). If you'd expect the notification to only be dismissed at your will this is a breaking change and you'll need to add
autoDismiss: falseto your notification content inputs. - Changed the default notification behavior on Android to be automatically dismissed when clicked. This is customizable with the
autoDismissparameter ofNotificationContentInput. (#8241 by @thorbenprimke)
🎉 New features
- Added the ability to configure whether the notification should be automatically dismissed when tapped on or not (on Android) with the
autoDismissparameter ofNotificationContentInput. (#8241 by @thorbenprimke) - Added
DailyTriggerInputthat allows scheduling a daily recurring notification for a specific hour and minute. It is supported on both iOS and Android. (#8199 by @thorbenprimke)
🐛 Bug fixes
- Added a macro check for
UNLocationNotificationTriggerto make this module compatible with Mac Catalyst (#8171 by @robertying) - Fixed notification content text being truncated without the ability to expand the notification by adding
BigTextStyleto all Android notifications, which allows them to be expanded and their content text fully viewed (#8140 by @thorbenprimke) - Added a check for trigger input that throws an error if user misuses the
secondsproperty (#8261 by @sjchmiela)
0.1.7 - 2020-05-05
🐛 Bug fixes
- Fixed obsolete and invalid dependency on
>= @unimodules/core@5.1.1, bringing backwards compatibility with older versions of@unimodules/core(#8162 by @sjchmiela)
0.1.6 - 2020-05-05
🐛 Bug fixes
- Fixed crash when serializing a notification containing a
nullvalue (#8153 by @sjchmiela) - Fixed a typo in
AndroidImportanceenum (DEEFAULTis now deprecated in favor ofDEFAULT) (#8161 by @trevorah)
0.1.5 - 2020-05-05
🐛 Bug fixes
- Fixed the ability to override the
FirebaseListenerServicewithout having to add a custom priority. (#8175 by @lukmccall) - Fixed
SoundResolvercausing crash if thesoundproperty is not defined or doesn't contain a.(#8150 by @sjchmiela)
0.1.4 - 2020-05-04
🎉 New features
- Added a native setting allowing you to use a custom notification icon for Android notifications (#8035 by @sjchmiela)
- Added a native setting and a runtime option allowing you to use a custom notification color for Android notifications (#8035 by @sjchmiela)
🐛 Bug fixes
- Fixed initial notification not being emitted to
NotificationResponselistener on iOS (#7958 by @sjchmiela)
0.1.3 - 2020-04-30
🐛 Bug fixes
- Fixed custom notification sounds not being applied properly to notifications and channels (#8036 by @sjchmiela)
- Fixed iOS rejecting the Promise to schedule a notification if
soundis not empty or a boolean (#8036 by @sjchmiela)
0.1.2 - 2020-04-21
🐛 Bug fixes
- Fixed interpretation of
Dateandnumbertriggers when callingscheduleNotificationAsyncon iOS (#7942 by @sjchmiela)