Cannot upload server key to expo (expo push:android:upload is not supported in the local CLI, please use eas credentials instead)

  1. SDK Version: 46
  2. Platforms: Android/iOS

I just started using expo and i use it in bare react native app. I’m trying to use expo-notification and i followed this guide to upload the server key to expo: Using FCM for Push Notifications - Expo Documentation

But when i run this command to upload:

npx expo push:android:upload --api-key AAABCD:bbbbsdjwdhwdjhdjdjwejwekwe............

I got this error:

$ expo push:android:upload is not supported in the local CLI, please use eas credentials instead

How to fix it? Thanks!

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