History log of /expo/packages/expo-notifications/src/ServerRegistrationModule.web.ts (Results 1 – 7 of 7)
Revision Date Author Comments
# 6e021b28 14-Sep-2023 Wojciech Dróżdż <[email protected]>

[core] Add native functions for UUIDv4 generation (#24199)

# Why

For Android and iOS we want to use native UUIDv4 generation methods.

# How

Exposed the common methods using the `CoreModule`

[core] Add native functions for UUIDv4 generation (#24199)

# Why

For Android and iOS we want to use native UUIDv4 generation methods.

# How

Exposed the common methods using the `CoreModule` file.
Changed the way uuids are exported. Now `expo-modules-core` exports a
`uuid` object which contains `v4` function.

# Test Plan

Tested in BareExpo on Android, ios and web

show more ...


# 1277abdd 30-Aug-2023 Evan Bacon <[email protected]>

fix(expo-notifications): fix rendering with Node.js (ssg) (#24195)

# Why

- fix https://github.com/expo/expo/issues/23895

---------

Co-authored-by: Expo Bot <[email protected].

fix(expo-notifications): fix rendering with Node.js (ssg) (#24195)

# Why

- fix https://github.com/expo/expo/issues/23895

---------

Co-authored-by: Expo Bot <[email protected]>

show more ...


# 8fbec2ec 04-Jul-2023 Alan Hughes <[email protected]>

[core] Add uuid to expo-modules-core (#23249)


# 98ecfc87 24-Mar-2022 James Ide <[email protected]>

[lint] Add "caughtErrors: 'all'" to linter config (#16591)

Why
---
ES2019 added "optional catch bindings" so that `e`/`error`/etc. don't need to be specified in catch clauses if the thrown value i

[lint] Add "caughtErrors: 'all'" to linter config (#16591)

Why
---
ES2019 added "optional catch bindings" so that `e`/`error`/etc. don't need to be specified in catch clauses if the thrown value isn't used. This changes our lint rules to warn if unnecessary error variables are declared. https://2ality.com/2017/08/optional-catch-binding.html.

In JS, as opposed to TS, we allow unused catch bindings if the variable names are prefixed with an underscore. This is so that JS targeting older JS interpreters can write `catch (_) {}` if needed. With TS we disallow unused catch bindings since tsc can compile code to its target JS version.

How
---
Added `caughtErrors: 'all'` to the no-unused-vars rule's configuration. As part of this change, I made the TypeScript linting rules apply only to .ts/.tsx/.ts.d files and updated the unit test snapshots.

Test Plan
---
Added unit tests to the linter. Ran linter over all modules in this repo with expotools.

show more ...


# 8285c032 13-Aug-2021 Tomasz Sapeta <[email protected]>

Rename unimodules imports to expo-modules-core


# 7f896a5f 25-May-2021 Giau. Tran Minh <[email protected]>

Refactor uuid imports to v7 style (#13037)


# 98629a0c 23-Nov-2020 Stanisław Chmiela <[email protected]>

[expo-notifications] Add autoreregistration device push token to Expo servers (#10908)

Please consult the pull request for full description and history of this commit.