Notifications API not working since expo client update

please share a mcve - How to create a Minimal, Reproducible Example - Help Center - Stack Overflow

For example in this link:
https://snack.expo.io/@notbrent/lonely-cheese

Im rin the project in my android device scan the QR and dont work.

If dowload the example:

  1. Download the example
  2. Run:
    npm install
    expo start
  3. Check expo is login:
    › Press s to sign out. (Signed in as @casoft.)
  4. Scan que QR and expo start to compile:
  5. In the console say:

Finished building JavaScript bundle in 49899ms.
Running application on SM-G9650.

[Unhandled promise rejection: Error: Couldn’t get GCM token on device.]

  • node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:99:50 in fn
  • node_modules/regenerator-runtime/runtime.js:45:44 in tryCatch
  • node_modules/regenerator-runtime/runtime.js:274:30 in invoke
  • node_modules/regenerator-runtime/runtime.js:45:44 in tryCatch
  • node_modules/regenerator-runtime/runtime.js:135:28 in invoke
  • node_modules/regenerator-runtime/runtime.js:145:19 in PromiseImpl.resolve.then$argument_0
  • node_modules/promise/setimmediate/core.js:37:14 in tryCallOne
  • node_modules/promise/setimmediate/core.js:123:25 in setImmediate$argument_0
  • node_modules/react-native/Libraries/Core/Timers/JSTimers.js:146:14 in _callTimer
  • node_modules/react-native/Libraries/Core/Timers/JSTimers.js:194:17 in _callImmediatesPass
  • node_modules/react-native/Libraries/Core/Timers/JSTimers.js:458:30 in callImmediates
  • [native code]:null in callImmediates
  • node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:407:6 in __callImmediates
  • node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:143:6 in __guard$argument_0
  • node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:384:10 in __guard
  • node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:142:17 in __guard$argument_0
  • [native code]:null in flushedQueue
  • [native code]:null in invokeCallbackAndReturnFlushedQueue

Additional 1:

 registerForPushNotificationsAsync = async () => {
    if (Constants.isDevice) {
      const { status: existingStatus } = await Permissions.getAsync(
        Permissions.NOTIFICATIONS
      );
      let finalStatus = existingStatus;
      if (existingStatus !== 'granted') {
        const { status } = await Permissions.askAsync(
          Permissions.NOTIFICATIONS
        );
        finalStatus = status;
      }
      if (finalStatus !== 'granted') {
        alert('Failed to get push token for push notification!');
        return;
      }
      let token = await Notifications.getExpoPushTokenAsync(); //<--- **IN THIS LINE DIED**
      console.log(token);
      this.setState({expoPushToken: token});
    } else {
      alert('Must use physical device for Push Notifications');
    }
  };

Additional:
Download GitHub - germancardenasm/expoPushToken
Remplace the API KEYs and json file by my our files and have the same problem

@notbrent
Here my mcve:

The problem:
Notifications.getExpoPushTokenAsync() returns an error and never resolves to an Expo Push Token.

Error received:
[Unhandled promise rejection: Error: Couldn’t get GCM token on device.]

The problem happens on Android Expo Client 2.15 but not in 2.14.
The problem only happens on Android. On iPhone the API works fine
I double checked and I am logged in with expo credentials.

Phisical device: Samsung S10
Phisical device SO: Android version 10
Expo Client version: 2.15

Expo diagnostics:
Expo CLI 3.17.15 environment info:
System:
OS: macOS Mojave 10.14.6
Shell: 5.3 - /bin/zsh
Binaries:
Node: 12.16.1 - /usr/local/bin/node
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
npmPackages:
expo: ~37.0.3 => 37.0.4
react: ~16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz => 0.61.4
npmGlobalPackages:
expo-cli: 3.17.15

Code to reproduce on Android:
https://github.com/germancardenasm/expoPushToken

Same here, also followed the fixes on the github link but getting the Couldn’t get GCM token on device. Also logged in to the expo CLI and into the expo app but no luck so far.

Hi.

Today recived a expo update 3.17.21 and with ExpoAPP Android Client 2.15.0 again all work to me, the GSM notifications.

Thanks to all EXPO TEAM