#7 Started to work on new auth

master
Keith Irwin 2017-04-19 08:43:51 -04:00
parent 15d0c2d03b
commit 189232eed1
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
5 changed files with 11 additions and 11 deletions

View File

@ -19,7 +19,7 @@ android {
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "us.keithirwin.tracman"
minSdkVersion 14
minSdkVersion 15
targetSdkVersion 23
versionCode 11
versionName "0.5.0"

View File

@ -11,9 +11,9 @@
<uses-feature android:name="android.hardware.location.gps" />
<application
android:label="@string/app_name"
android:allowBackup="true"
android:icon="@drawable/logo_by"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">

View File

@ -151,13 +151,13 @@ public class LoginActivity extends AppCompatActivity implements
.build();
Request request = new Request.Builder()
.url(SERVER_ADDRESS+"login/android/google/idtoken?id_token="+token)
.url(SERVER_ADDRESS+"login/app/google?id_token="+token)
.build();
client.newCall(request).enqueue(new Callback() {
@Override
public void onFailure(Call call, IOException e) {
Log.e(TAG, "Failed to connect to server: " + SERVER_ADDRESS + "login/android/google/idtoken?id_token=" + token);
Log.e(TAG, "Failed to connect to server: " + SERVER_ADDRESS + "login/app/google?id_token=" + token);
showError(R.string.server_connection_error);
e.printStackTrace();
}

View File

@ -66,22 +66,22 @@
<ImageButton
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="match_parent"
android:src="@drawable/social_google" />
android:layout_height="match_parent" />
<!--android:src="@drawable/social_google" />-->
<!-- Facebook -->
<ImageButton
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="match_parent"
android:src="@drawable/social_facebook" />
android:layout_height="match_parent" />
<!--android:src="@drawable/social_facebook" />-->
<!-- Twitter -->
<ImageButton
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="match_parent"
android:src="@drawable/social_twitter" />
android:layout_height="match_parent" />
<!--android:src="@drawable/social_twitter" />-->
</LinearLayout>

View File

@ -98,7 +98,7 @@
<!--Strings related to bugs-->
<string name="bugs_name">Bug report</string>
<string name="login_forgot_password"><a href="https://tracman.org/login/forgot">Forgot your password?</a>
<string name="login_forgot_password"><a href="https://tracman.org/login/forgot">Forgot your password?</a></string>
<string name="login_button_text">Login</string>
<string name="email">email</string>
<string name="password">password</string>