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

Viewed 94

I just started using expo and i use it in bare react native app. I'm trying to use expo-notification. I followed this guide to upload the server key to expo: https://docs.expo.dev/push-notifications/using-fcm/#uploading-server-credentials

But when i run this command

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

it's show an error:

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

Thanks!

1 Answers

If you are using Expo with EAS, you should do this using the following command:

eas credentials -p android

Just found out the solution. Hope it's not too late.

Related