diff --git a/Habitica/AndroidManifest.xml b/Habitica/AndroidManifest.xml index c4bcc8103..3c501e746 100644 --- a/Habitica/AndroidManifest.xml +++ b/Habitica/AndroidManifest.xml @@ -191,7 +191,11 @@ android:windowSoftInputMode="stateHidden" /> - + + + + + diff --git a/Habitica/build.gradle b/Habitica/build.gradle index 0cabe7d08..240d47b2f 100644 --- a/Habitica/build.gradle +++ b/Habitica/build.gradle @@ -17,7 +17,7 @@ buildscript { jcenter() } dependencies { - classpath 'io.fabric.tools:gradle:1.31.0' + classpath 'io.fabric.tools:gradle:1.+' classpath('com.noveogroup.android:check:1.2.5') { exclude module: 'checkstyle' exclude module: 'pmd-java' @@ -102,6 +102,8 @@ dependencies { } //Tests testImplementation 'junit:junit:4.12' + testImplementation 'androidx.test:core:1.0.0' + testImplementation "com.google.truth:truth:1.0.1" testImplementation 'org.assertj:assertj-core:2.6.0' testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2' testImplementation 'org.robolectric:robolectric:3.8' @@ -115,26 +117,28 @@ dependencies { debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2' //Push Notifications - implementation 'com.google.firebase:firebase-core:17.2.1' + implementation 'com.google.firebase:firebase-core:17.2.2' implementation 'com.google.firebase:firebase-messaging:20.1.0' - implementation 'com.google.firebase:firebase-config:19.1.0' - implementation 'com.google.firebase:firebase-perf:19.0.4' + implementation 'com.google.firebase:firebase-config:19.1.1' + implementation 'com.google.firebase:firebase-perf:19.0.5' implementation 'com.google.android.gms:play-services-auth:17.0.0' implementation 'io.realm:android-adapters:3.1.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.multidex:multidex:2.0.1' implementation 'com.nex3z:flow-layout:1.2.2' - implementation 'androidx.core:core-ktx:1.1.0' - implementation "androidx.lifecycle:lifecycle-extensions:2.1.0" - implementation "androidx.lifecycle:lifecycle-common-java8:2.1.0" - implementation 'androidx.navigation:navigation-fragment-ktx:2.1.0' - implementation 'androidx.navigation:navigation-ui-ktx:2.1.0' + implementation 'androidx.core:core-ktx:1.2.0' + implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" + implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0" + implementation 'androidx.navigation:navigation-fragment-ktx:2.2.1' + implementation 'androidx.navigation:navigation-ui-ktx:2.2.1' implementation "androidx.paging:paging-runtime-ktx:2.1.1" implementation 'com.plattysoft.leonids:LeonidsLib:1.3.2' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3' + implementation 'com.willowtreeapps:signinwithapplebutton:0.2' + implementation project(':shared') } @@ -151,8 +155,8 @@ android { multiDexEnabled true resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW" - versionCode 2346 - versionName "2.4.2" + versionCode 2396 + versionName "2.5" } viewBinding { diff --git a/Habitica/res/drawable-hdpi/apple_icon.png b/Habitica/res/drawable-hdpi/apple_icon.png new file mode 100644 index 000000000..849330315 Binary files /dev/null and b/Habitica/res/drawable-hdpi/apple_icon.png differ diff --git a/Habitica/res/drawable-hdpi/support_faq.png b/Habitica/res/drawable-hdpi/support_faq.png new file mode 100644 index 000000000..13c292aec Binary files /dev/null and b/Habitica/res/drawable-hdpi/support_faq.png differ diff --git a/Habitica/res/drawable-mdpi/apple_icon.png b/Habitica/res/drawable-mdpi/apple_icon.png new file mode 100644 index 000000000..3e05abc74 Binary files /dev/null and b/Habitica/res/drawable-mdpi/apple_icon.png differ diff --git a/Habitica/res/drawable-mdpi/support_faq.png b/Habitica/res/drawable-mdpi/support_faq.png new file mode 100644 index 000000000..6d5649a22 Binary files /dev/null and b/Habitica/res/drawable-mdpi/support_faq.png differ diff --git a/Habitica/res/drawable-xhdpi/apple_icon.png b/Habitica/res/drawable-xhdpi/apple_icon.png new file mode 100644 index 000000000..1394177cb Binary files /dev/null and b/Habitica/res/drawable-xhdpi/apple_icon.png differ diff --git a/Habitica/res/drawable-xhdpi/support_faq.png b/Habitica/res/drawable-xhdpi/support_faq.png new file mode 100644 index 000000000..100c4469c Binary files /dev/null and b/Habitica/res/drawable-xhdpi/support_faq.png differ diff --git a/Habitica/res/drawable-xxhdpi/apple_icon.png b/Habitica/res/drawable-xxhdpi/apple_icon.png new file mode 100644 index 000000000..3f4b39161 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/apple_icon.png differ diff --git a/Habitica/res/drawable-xxhdpi/support_faq.png b/Habitica/res/drawable-xxhdpi/support_faq.png new file mode 100644 index 000000000..60fa78af8 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/support_faq.png differ diff --git a/Habitica/res/drawable-xxxhdpi/apple_icon.png b/Habitica/res/drawable-xxxhdpi/apple_icon.png new file mode 100644 index 000000000..a4b1bafeb Binary files /dev/null and b/Habitica/res/drawable-xxxhdpi/apple_icon.png differ diff --git a/Habitica/res/drawable-xxxhdpi/support_faq.png b/Habitica/res/drawable-xxxhdpi/support_faq.png new file mode 100644 index 000000000..31081bede Binary files /dev/null and b/Habitica/res/drawable-xxxhdpi/support_faq.png differ diff --git a/Habitica/res/drawable/button_background_gray_600.xml b/Habitica/res/drawable/button_background_gray_600.xml new file mode 100644 index 000000000..9d6ccf7a2 --- /dev/null +++ b/Habitica/res/drawable/button_background_gray_600.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/circle_gray300.xml b/Habitica/res/drawable/circle_gray300.xml new file mode 100644 index 000000000..ba3d669da --- /dev/null +++ b/Habitica/res/drawable/circle_gray300.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/ic_arrow_drop_up_gray_48dp_disabled.xml b/Habitica/res/drawable/ic_arrow_drop_up_gray_48dp_disabled.xml new file mode 100644 index 000000000..0d441d1cc --- /dev/null +++ b/Habitica/res/drawable/ic_arrow_drop_up_gray_48dp_disabled.xml @@ -0,0 +1,4 @@ + + + + diff --git a/Habitica/res/drawable/ic_arrow_drop_up_gray_48dp_states.xml b/Habitica/res/drawable/ic_arrow_drop_up_gray_48dp_states.xml new file mode 100644 index 000000000..41b906774 --- /dev/null +++ b/Habitica/res/drawable/ic_arrow_drop_up_gray_48dp_states.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/layout_rounded_bg_gray_700_brand_border.xml b/Habitica/res/drawable/layout_rounded_bg_gray_700_brand_border.xml new file mode 100644 index 000000000..727262a5e --- /dev/null +++ b/Habitica/res/drawable/layout_rounded_bg_gray_700_brand_border.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/rounded_purple_dark_square.xml b/Habitica/res/drawable/rounded_purple_dark_square.xml new file mode 100644 index 000000000..eebd55800 --- /dev/null +++ b/Habitica/res/drawable/rounded_purple_dark_square.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/support_info_lower_bg.xml b/Habitica/res/drawable/support_info_lower_bg.xml new file mode 100644 index 000000000..26a2c3030 --- /dev/null +++ b/Habitica/res/drawable/support_info_lower_bg.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Habitica/res/layout/activity_login.xml b/Habitica/res/layout/activity_login.xml index a7d91600d..f216f1e8d 100644 --- a/Habitica/res/layout/activity_login.xml +++ b/Habitica/res/layout/activity_login.xml @@ -201,7 +201,7 @@ android:layout_marginTop="@dimen/spacing_xlarge" android:layout_height="@dimen/diamond_button_height" android:text="@string/login_btn_fb" - android:drawableLeft="@drawable/facebook_icon" + android:drawableStart="@drawable/facebook_icon" style="@style/LoginButton"/>