import expo-notifications breaks the app

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS):

After upgrading to expo 40, I have installed expo-notifications using
expo install expo-notifications

This is on the package.json
"expo-notifications": "~0.8.2",

And then, adding this import breaks the app
import * as Notifications from 'expo-notifications'

cause this error

TypeError: Cannot read property 'custom' of undefined
- node_modules/expo/build/logs/LogSerialization.js:160:14 in _captureConsoleStackTrace
- node_modules/expo/build/logs/LogSerialization.js:41:26 in serializeLogDataAsync
- ... 9 more stack frames from framework internals

Any ideas?
Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.