Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager

Please provide the following:

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

My application working fine in development mode( device& emulator) but in production it encounters an error like below;

“Error: Encountered an exception while calling native method: Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager: Please set your project ID. A valid Firebase project…”

It changed literally nothing except upgrade sdk version to 40, why this happens and how to fix it?