import expo-notifications in expo manage-flow error native modules cannot be null

Please provide the following:

  1. SDK Version: 38.0.8
  2. Platforms(Android/iOS/web/all): real device ios x
    steps:
    expo init
    expo eject -managed-flow
    add package expo-notifications

in top of app.js only
import * as Notifications from ‘expo-notifications’

gives error in device invariant violation: native modules cannot be null

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