The custom token corresponds to a different audien

2019-08-21 10:14发布

I'm using firebase for authentication on my app, while developing I created a firebase project which I was using for that purpose, but now I've to sync it with another app. So on updating my google-services.json I'm getting the below error and am not able to connect to firebase.

The custom token corresponds to a different audience. [App ID does not match requested prject.]

How can I migrate my project to another one??

2条回答
爷的心禁止访问
2楼-- · 2019-08-21 10:31

I finally got the app working, basically firebase does not allow two projects with similar configuration. So in my case the test project I created while development had SHA key of my app configured, becasue of which I was getting the error.

I deleted that key and the conflict got resolved.

This is mainly in cases when you're using modules like Authentication where SHA key is used to identify the app.

查看更多
一纸荒年 Trace。
3楼-- · 2019-08-21 10:42

Try clearing the app data, it may be loading something from storage which is related to the other project.

查看更多
登录 后发表回答