增加第三方登录可以正常登录了

This commit is contained in:
18142669586
2023-10-19 15:15:18 +08:00
parent 9e68f35627
commit f22ad82d84
11 changed files with 93 additions and 138 deletions

View File

@@ -11,7 +11,7 @@ android {
defaultConfig {
applicationId "com.shayu.onetoone"
applicationId "com.shayu.onetoonenew"
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
versionCode rootProject.ext.android.versionCode

View File

@@ -0,0 +1,63 @@
{
"project_info": {
"project_number": "903482201540",
"project_id": "onetoone-71170",
"storage_bucket": "onetoone-71170.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:903482201540:android:132978cdf497f4d8634091",
"android_client_info": {
"package_name": "com.shayu.onetoonenew"
}
},
"oauth_client": [
{
"client_id": "903482201540-ddno3ro8fp0lqqoeodbhbnpqf7f8d439.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.shayu.onetoonenew",
"certificate_hash": "b66dc8d21cfcf6c729577ddcf0c312b2a31ed872"
}
},
{
"client_id": "903482201540-e9ua9huoejtubp7pgsbu3iq76tqkoorp.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.shayu.onetoonenew",
"certificate_hash": "15fc5e70cf238323bf7111c8c627803985478e87"
}
},
{
"client_id": "903482201540-k3cffuuhsed23kkiuopufhf54ano7do4.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.shayu.onetoonenew",
"certificate_hash": "38cc19306c9facee36a9224e9a4070bc0be15c7d"
}
},
{
"client_id": "903482201540-s2j96h6k7go0ah51ksi7es8mt7qhankh.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCrhj-7WjwdYUHBMzz9Ntie_S474slGjVY"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "903482201540-s2j96h6k7go0ah51ksi7es8mt7qhankh.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

View File

@@ -337,7 +337,7 @@ public class EntryActivity extends AbsOTOActivity {
// App-to-app login
Intent loginIntent = LineLoginApi.getLoginIntent(
view.getContext(),
"1656399535",
"2001228692",
new LineAuthenticationParams.Builder()
.scopes(Arrays.asList(Scope.PROFILE))
// .nonce("<a randomly-generated string>") // nonce can be used to improve security

View File

@@ -50,7 +50,6 @@
android:layout_marginBottom="21dp">
<LinearLayout
android:id="@+id/lt_btn_facebook"
android:layout_width="match_parent"
android:layout_height="54dp"
android:layout_marginLeft="42dp"