Cannot login
Closed this issue · 0 comments
wantg commented
Describe the bug
Cannot login
To Reproduce
Steps to reproduce the behavior:
- start my macos 12.3
- clone repo
- uncomment MAPBOX_DOWNLOADS_TOKEN line in $PWD/gradle.properties and put my mapbox secret token to there
- add my google-services.json into $PWD/app
- set package_name's value to one.mixin.messenger.test (in google-services.json)
{
"project_info": {
"project_number": "47750025639",
"project_id": "a3a3-f327c",
"storage_bucket": "a3a3-f327c.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:47750025639:android:53be3ee39201da95ffa682",
"android_client_info": {
"package_name": "one.mixin.messenger.test"
}
},
"oauth_client": [
{
"client_id": "47750025639-feedru6pvv14t3f33hnpfsmie0p1pblm.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyB-qPZM09PtCEVs85_NXJJY-QvaN5cDjjA"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "47750025639-feedru6pvv14t3f33hnpfsmie0p1pblm.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
- run emulator
~/Library/Android/sdk/emulator/emulator -avd Pixel_2_API_30 -dns-server 8.8.8.8
- open $PWD with android studio 2021.1
- run app in emulator
- login failed