Question about FCM API Key


I have a question about the FCM API key used to send push notifications to android. When using this command: expo push:android:upload --api-key per

Is the API key used for all projects connected to your account? Or is it only used on a per-project basis? I have two different expo projects under my account and want to use different API keys for each of them.



Hi Jason-

The API key is stored for that particular project (the directory where you ran expo push:android:upload --api-key). So if you’re using 2 different API keys, you’d run that command for each directory

Thanks Charlie, that makes sense. Do build certificates work the same way?

I think that depends on which certificate/which platform. A lot of that information is available here, but let me know if you can’t find exactly what you’re looking for

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