Merge branch 'develop' of github.com:HabitRPG/habitica-android into develop
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
|
@ -8,7 +8,7 @@ assignees: ''
|
||||||
---
|
---
|
||||||
|
|
||||||
**Describe the bug**
|
**Describe the bug**
|
||||||
A clear and concise description of what the bug is.
|
A clear and concise description of what the bug is. If your issue is not related to a specific bug, please submit it as a suggestion through our form: https://forms.gle/Fa6oztkDsbzLqSvE9
|
||||||
|
|
||||||
**To Reproduce**
|
**To Reproduce**
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
|
|
|
||||||
26
.github/ISSUE_TEMPLATE/crash_report.md
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
---
|
||||||
|
name: Crash report
|
||||||
|
about: Create a report for app crash instances
|
||||||
|
title: ''
|
||||||
|
labels: 'Type: Crash'
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Describe the crash**
|
||||||
|
What were you doing before the issue? Was there an error, did the app stall, or did it fully close?
|
||||||
|
|
||||||
|
**To Reproduce**
|
||||||
|
Can you reliably reproduce the crash? If so, list steps.
|
||||||
|
|
||||||
|
**Screenshots/Video**
|
||||||
|
If applicable, add screenshots or video to help show the problem
|
||||||
|
|
||||||
|
**Smartphone (please complete the following information):**
|
||||||
|
- Device: [e.g. Moto G5]
|
||||||
|
- OS: [e.g. Android 9]
|
||||||
|
- App Version: [e.g. 2.2]
|
||||||
|
- Habitica Username:
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context about the problem here.
|
||||||
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
|
@ -1,20 +0,0 @@
|
||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
title: ''
|
|
||||||
labels: 'Type: Feature'
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
|
||||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
||||||
|
|
||||||
**Describe the solution you'd like**
|
|
||||||
A clear and concise description of what you want to happen.
|
|
||||||
|
|
||||||
**Describe alternatives you've considered**
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context or screenshots about the feature request here.
|
|
||||||
2
.gitignore
vendored
|
|
@ -67,3 +67,5 @@ fastlane/metadata/android/*/changelogs/
|
||||||
/Habitica/amazon
|
/Habitica/amazon
|
||||||
/fastlane/Fastfile.bkp
|
/fastlane/Fastfile.bkp
|
||||||
/fastlane/Fastfile
|
/fastlane/Fastfile
|
||||||
|
*.aab
|
||||||
|
/Habitica/alpha
|
||||||
|
|
|
||||||
141
Gemfile.lock
|
|
@ -1,103 +1,133 @@
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
CFPropertyList (3.0.0)
|
CFPropertyList (3.0.2)
|
||||||
addressable (2.5.2)
|
addressable (2.7.0)
|
||||||
public_suffix (>= 2.0.2, < 4.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
atomos (0.1.3)
|
atomos (0.1.3)
|
||||||
babosa (1.0.2)
|
aws-eventstream (1.1.0)
|
||||||
claide (1.0.2)
|
aws-partitions (1.329.0)
|
||||||
|
aws-sdk-core (3.99.2)
|
||||||
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
|
aws-partitions (~> 1, >= 1.239.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
jmespath (~> 1.0)
|
||||||
|
aws-sdk-kms (1.34.1)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-s3 (1.68.1)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sdk-kms (~> 1)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sigv4 (1.1.4)
|
||||||
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
||||||
|
babosa (1.0.3)
|
||||||
|
claide (1.0.3)
|
||||||
colored (1.2)
|
colored (1.2)
|
||||||
colored2 (3.1.2)
|
colored2 (3.1.2)
|
||||||
commander-fastlane (4.4.6)
|
commander-fastlane (4.4.6)
|
||||||
highline (~> 1.7.2)
|
highline (~> 1.7.2)
|
||||||
declarative (0.0.10)
|
declarative (0.0.10)
|
||||||
declarative-option (0.1.0)
|
declarative-option (0.1.0)
|
||||||
domain_name (0.5.20180417)
|
digest-crc (0.5.1)
|
||||||
|
domain_name (0.5.20190701)
|
||||||
unf (>= 0.0.5, < 1.0.0)
|
unf (>= 0.0.5, < 1.0.0)
|
||||||
dotenv (2.5.0)
|
dotenv (2.7.5)
|
||||||
emoji_regex (0.1.1)
|
emoji_regex (1.0.1)
|
||||||
excon (0.62.0)
|
excon (0.74.0)
|
||||||
faraday (0.15.3)
|
faraday (1.0.1)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
faraday-cookie_jar (0.0.6)
|
faraday-cookie_jar (0.0.6)
|
||||||
faraday (>= 0.7.4)
|
faraday (>= 0.7.4)
|
||||||
http-cookie (~> 1.0.0)
|
http-cookie (~> 1.0.0)
|
||||||
faraday_middleware (0.12.2)
|
faraday_middleware (1.0.0)
|
||||||
faraday (>= 0.7.4, < 1.0)
|
faraday (~> 1.0)
|
||||||
fastimage (2.1.4)
|
fastimage (2.1.7)
|
||||||
fastlane (2.107.0)
|
fastlane (2.149.1)
|
||||||
CFPropertyList (>= 2.3, < 4.0.0)
|
CFPropertyList (>= 2.3, < 4.0.0)
|
||||||
addressable (>= 2.3, < 3.0.0)
|
addressable (>= 2.3, < 3.0.0)
|
||||||
|
aws-sdk-s3 (~> 1.0)
|
||||||
babosa (>= 1.0.2, < 2.0.0)
|
babosa (>= 1.0.2, < 2.0.0)
|
||||||
bundler (>= 1.12.0, < 2.0.0)
|
bundler (>= 1.12.0, < 3.0.0)
|
||||||
colored
|
colored
|
||||||
commander-fastlane (>= 4.4.6, < 5.0.0)
|
commander-fastlane (>= 4.4.6, < 5.0.0)
|
||||||
dotenv (>= 2.1.1, < 3.0.0)
|
dotenv (>= 2.1.1, < 3.0.0)
|
||||||
emoji_regex (~> 0.1)
|
emoji_regex (>= 0.1, < 2.0)
|
||||||
excon (>= 0.45.0, < 1.0.0)
|
excon (>= 0.71.0, < 1.0.0)
|
||||||
faraday (~> 0.9)
|
faraday (>= 0.17, < 2.0)
|
||||||
faraday-cookie_jar (~> 0.0.6)
|
faraday-cookie_jar (~> 0.0.6)
|
||||||
faraday_middleware (~> 0.9)
|
faraday_middleware (>= 0.13.1, < 2.0)
|
||||||
fastimage (>= 2.1.0, < 3.0.0)
|
fastimage (>= 2.1.0, < 3.0.0)
|
||||||
gh_inspector (>= 1.1.2, < 2.0.0)
|
gh_inspector (>= 1.1.2, < 2.0.0)
|
||||||
google-api-client (>= 0.21.2, < 0.24.0)
|
google-api-client (>= 0.37.0, < 0.39.0)
|
||||||
|
google-cloud-storage (>= 1.15.0, < 2.0.0)
|
||||||
highline (>= 1.7.2, < 2.0.0)
|
highline (>= 1.7.2, < 2.0.0)
|
||||||
json (< 3.0.0)
|
json (< 3.0.0)
|
||||||
mini_magick (~> 4.5.1)
|
jwt (~> 2.1.0)
|
||||||
multi_json
|
mini_magick (>= 4.9.4, < 5.0.0)
|
||||||
multi_xml (~> 0.5)
|
multi_xml (~> 0.5)
|
||||||
multipart-post (~> 2.0.0)
|
multipart-post (~> 2.0.0)
|
||||||
plist (>= 3.1.0, < 4.0.0)
|
plist (>= 3.1.0, < 4.0.0)
|
||||||
public_suffix (~> 2.0.0)
|
public_suffix (~> 2.0.0)
|
||||||
rubyzip (>= 1.2.2, < 2.0.0)
|
rubyzip (>= 1.3.0, < 2.0.0)
|
||||||
security (= 0.1.3)
|
security (= 0.1.3)
|
||||||
simctl (~> 1.6.3)
|
simctl (~> 1.6.3)
|
||||||
slack-notifier (>= 2.0.0, < 3.0.0)
|
slack-notifier (>= 2.0.0, < 3.0.0)
|
||||||
terminal-notifier (>= 1.6.2, < 2.0.0)
|
terminal-notifier (>= 2.0.0, < 3.0.0)
|
||||||
terminal-table (>= 1.4.5, < 2.0.0)
|
terminal-table (>= 1.4.5, < 2.0.0)
|
||||||
tty-screen (>= 0.6.3, < 1.0.0)
|
tty-screen (>= 0.6.3, < 1.0.0)
|
||||||
tty-spinner (>= 0.8.0, < 1.0.0)
|
tty-spinner (>= 0.8.0, < 1.0.0)
|
||||||
word_wrap (~> 1.0.0)
|
word_wrap (~> 1.0.0)
|
||||||
xcodeproj (>= 1.6.0, < 2.0.0)
|
xcodeproj (>= 1.13.0, < 2.0.0)
|
||||||
xcpretty (~> 0.3.0)
|
xcpretty (~> 0.3.0)
|
||||||
xcpretty-travis-formatter (>= 0.0.3)
|
xcpretty-travis-formatter (>= 0.0.3)
|
||||||
fastlane-plugin-increment_version_code (0.4.3)
|
|
||||||
fastlane-plugin-versioning_android (0.1.0)
|
fastlane-plugin-versioning_android (0.1.0)
|
||||||
gh_inspector (1.1.3)
|
gh_inspector (1.1.3)
|
||||||
google-api-client (0.23.9)
|
google-api-client (0.38.0)
|
||||||
addressable (~> 2.5, >= 2.5.1)
|
addressable (~> 2.5, >= 2.5.1)
|
||||||
googleauth (>= 0.5, < 0.7.0)
|
googleauth (~> 0.9)
|
||||||
httpclient (>= 2.8.1, < 3.0)
|
httpclient (>= 2.8.1, < 3.0)
|
||||||
mime-types (~> 3.0)
|
mini_mime (~> 1.0)
|
||||||
representable (~> 3.0)
|
representable (~> 3.0)
|
||||||
retriable (>= 2.0, < 4.0)
|
retriable (>= 2.0, < 4.0)
|
||||||
signet (~> 0.9)
|
signet (~> 0.12)
|
||||||
googleauth (0.6.7)
|
google-cloud-core (1.5.0)
|
||||||
faraday (~> 0.12)
|
google-cloud-env (~> 1.0)
|
||||||
|
google-cloud-errors (~> 1.0)
|
||||||
|
google-cloud-env (1.3.2)
|
||||||
|
faraday (>= 0.17.3, < 2.0)
|
||||||
|
google-cloud-errors (1.0.1)
|
||||||
|
google-cloud-storage (1.26.2)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
digest-crc (~> 0.4)
|
||||||
|
google-api-client (~> 0.33)
|
||||||
|
google-cloud-core (~> 1.2)
|
||||||
|
googleauth (~> 0.9)
|
||||||
|
mini_mime (~> 1.0)
|
||||||
|
googleauth (0.12.0)
|
||||||
|
faraday (>= 0.17.3, < 2.0)
|
||||||
jwt (>= 1.4, < 3.0)
|
jwt (>= 1.4, < 3.0)
|
||||||
memoist (~> 0.16)
|
memoist (~> 0.16)
|
||||||
multi_json (~> 1.11)
|
multi_json (~> 1.11)
|
||||||
os (>= 0.9, < 2.0)
|
os (>= 0.9, < 2.0)
|
||||||
signet (~> 0.7)
|
signet (~> 0.14)
|
||||||
highline (1.7.10)
|
highline (1.7.10)
|
||||||
http-cookie (1.0.3)
|
http-cookie (1.0.3)
|
||||||
domain_name (~> 0.5)
|
domain_name (~> 0.5)
|
||||||
httpclient (2.8.3)
|
httpclient (2.8.3)
|
||||||
json (2.1.0)
|
jmespath (1.4.0)
|
||||||
|
json (2.3.0)
|
||||||
jwt (2.1.0)
|
jwt (2.1.0)
|
||||||
memoist (0.16.0)
|
memoist (0.16.2)
|
||||||
mime-types (3.2.2)
|
mini_magick (4.10.1)
|
||||||
mime-types-data (~> 3.2015)
|
mini_mime (1.0.2)
|
||||||
mime-types-data (3.2018.0812)
|
multi_json (1.14.1)
|
||||||
mini_magick (4.5.1)
|
|
||||||
multi_json (1.13.1)
|
|
||||||
multi_xml (0.6.0)
|
multi_xml (0.6.0)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
nanaimo (0.2.6)
|
nanaimo (0.2.6)
|
||||||
naturally (2.2.0)
|
naturally (2.2.0)
|
||||||
os (1.0.0)
|
os (1.1.0)
|
||||||
plist (3.4.0)
|
plist (3.5.0)
|
||||||
public_suffix (2.0.5)
|
public_suffix (2.0.5)
|
||||||
representable (3.0.4)
|
representable (3.0.4)
|
||||||
declarative (< 0.1.0)
|
declarative (< 0.1.0)
|
||||||
|
|
@ -105,31 +135,31 @@ GEM
|
||||||
uber (< 0.2.0)
|
uber (< 0.2.0)
|
||||||
retriable (3.1.2)
|
retriable (3.1.2)
|
||||||
rouge (2.0.7)
|
rouge (2.0.7)
|
||||||
rubyzip (1.2.2)
|
rubyzip (1.3.0)
|
||||||
security (0.1.3)
|
security (0.1.3)
|
||||||
signet (0.11.0)
|
signet (0.14.0)
|
||||||
addressable (~> 2.3)
|
addressable (~> 2.3)
|
||||||
faraday (~> 0.9)
|
faraday (>= 0.17.3, < 2.0)
|
||||||
jwt (>= 1.5, < 3.0)
|
jwt (>= 1.5, < 3.0)
|
||||||
multi_json (~> 1.10)
|
multi_json (~> 1.10)
|
||||||
simctl (1.6.5)
|
simctl (1.6.8)
|
||||||
CFPropertyList
|
CFPropertyList
|
||||||
naturally
|
naturally
|
||||||
slack-notifier (2.3.2)
|
slack-notifier (2.3.2)
|
||||||
terminal-notifier (1.8.0)
|
terminal-notifier (2.0.0)
|
||||||
terminal-table (1.8.0)
|
terminal-table (1.8.0)
|
||||||
unicode-display_width (~> 1.1, >= 1.1.1)
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
||||||
tty-cursor (0.6.0)
|
tty-cursor (0.7.1)
|
||||||
tty-screen (0.6.5)
|
tty-screen (0.8.0)
|
||||||
tty-spinner (0.8.0)
|
tty-spinner (0.9.3)
|
||||||
tty-cursor (>= 0.5.0)
|
tty-cursor (~> 0.7)
|
||||||
uber (0.1.0)
|
uber (0.1.0)
|
||||||
unf (0.1.4)
|
unf (0.1.4)
|
||||||
unf_ext
|
unf_ext
|
||||||
unf_ext (0.0.7.5)
|
unf_ext (0.0.7.7)
|
||||||
unicode-display_width (1.4.0)
|
unicode-display_width (1.7.0)
|
||||||
word_wrap (1.0.0)
|
word_wrap (1.0.0)
|
||||||
xcodeproj (1.7.0)
|
xcodeproj (1.16.0)
|
||||||
CFPropertyList (>= 2.3.3, < 4.0)
|
CFPropertyList (>= 2.3.3, < 4.0)
|
||||||
atomos (~> 0.1.3)
|
atomos (~> 0.1.3)
|
||||||
claide (>= 1.0.2, < 2.0)
|
claide (>= 1.0.2, < 2.0)
|
||||||
|
|
@ -145,8 +175,7 @@ PLATFORMS
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
fastlane
|
fastlane
|
||||||
fastlane-plugin-increment_version_code
|
|
||||||
fastlane-plugin-versioning_android
|
fastlane-plugin-versioning_android
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.16.4
|
1.17.2
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,8 @@
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:installLocation="auto" >
|
android:installLocation="auto" >
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
||||||
<uses-permission android:name="com.android.vending.BILLING" />
|
<uses-permission android:name="com.android.vending.BILLING" />
|
||||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
||||||
|
|
||||||
|
|
@ -83,6 +80,15 @@
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:windowSoftInputMode="adjustResize">
|
android:windowSoftInputMode="adjustResize">
|
||||||
</activity>
|
</activity>
|
||||||
|
<activity
|
||||||
|
android:name=".ui.activities.AdventureGuideActivity"
|
||||||
|
android:label=""
|
||||||
|
android:screenOrientation="portrait"
|
||||||
|
android:windowSoftInputMode="adjustResize">
|
||||||
|
<meta-data
|
||||||
|
android:name="android.support.PARENT_ACTIVITY"
|
||||||
|
android:value="com.habitrpg.android.habitica.ui.activities.MainActivity" />
|
||||||
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.activities.IntroActivity"
|
android:name=".ui.activities.IntroActivity"
|
||||||
android:windowSoftInputMode="adjustResize">
|
android:windowSoftInputMode="adjustResize">
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'io.fabric.tools:gradle:1.+'
|
classpath 'io.fabric.tools:gradle:1.+'
|
||||||
classpath 'com.android.tools.build:gradle:3.6.2'
|
classpath 'com.android.tools.build:gradle:4.0.0'
|
||||||
classpath('com.noveogroup.android:check:1.2.5') {
|
classpath('com.noveogroup.android:check:1.2.5') {
|
||||||
exclude module: 'checkstyle'
|
exclude module: 'checkstyle'
|
||||||
exclude module: 'pmd-java'
|
exclude module: 'pmd-java'
|
||||||
|
|
@ -104,7 +104,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
//Tests
|
//Tests
|
||||||
testImplementation 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
testImplementation 'androidx.test:core:1.0.0'
|
testImplementation 'androidx.test:core:1.2.0'
|
||||||
testImplementation "com.google.truth:truth:1.0.1"
|
testImplementation "com.google.truth:truth:1.0.1"
|
||||||
testImplementation 'org.assertj:assertj-core:2.6.0'
|
testImplementation 'org.assertj:assertj-core:2.6.0'
|
||||||
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2'
|
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2'
|
||||||
|
|
@ -119,22 +119,22 @@ dependencies {
|
||||||
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2'
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2'
|
||||||
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2'
|
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2'
|
||||||
//Push Notifications
|
//Push Notifications
|
||||||
implementation 'com.google.firebase:firebase-core:17.2.2'
|
implementation 'com.google.firebase:firebase-core:17.4.4'
|
||||||
implementation 'com.google.firebase:firebase-messaging:20.1.0'
|
implementation 'com.google.firebase:firebase-messaging:20.2.3'
|
||||||
implementation 'com.google.firebase:firebase-config:19.1.1'
|
implementation 'com.google.firebase:firebase-config:19.2.0'
|
||||||
implementation 'com.google.firebase:firebase-perf:19.0.5'
|
implementation 'com.google.firebase:firebase-perf:19.0.7'
|
||||||
implementation 'com.google.android.gms:play-services-auth:17.0.0'
|
implementation 'com.google.android.gms:play-services-auth:18.0.0'
|
||||||
implementation 'io.realm:android-adapters:3.1.0'
|
implementation 'io.realm:android-adapters:3.1.0'
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||||
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||||||
implementation 'com.nex3z:flow-layout:1.2.2'
|
implementation 'com.nex3z:flow-layout:1.2.2'
|
||||||
|
|
||||||
implementation 'androidx.core:core-ktx:1.2.0'
|
implementation 'androidx.core:core-ktx:1.3.0'
|
||||||
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
||||||
implementation "androidx.lifecycle:lifecycle-common-java8: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-fragment-ktx:2.3.0'
|
||||||
implementation 'androidx.navigation:navigation-ui-ktx:2.2.1'
|
implementation 'androidx.navigation:navigation-ui-ktx:2.3.0'
|
||||||
implementation "androidx.paging:paging-runtime-ktx:2.1.1"
|
implementation "androidx.paging:paging-runtime-ktx:2.1.2"
|
||||||
implementation 'com.plattysoft.leonids:LeonidsLib:1.3.2'
|
implementation 'com.plattysoft.leonids:LeonidsLib:1.3.2'
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3'
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
|
||||||
|
|
@ -145,8 +145,8 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 30
|
||||||
buildToolsVersion '28.0.3'
|
buildToolsVersion '29.0.3'
|
||||||
testOptions {
|
testOptions {
|
||||||
unitTests {
|
unitTests {
|
||||||
includeAndroidResources = true
|
includeAndroidResources = true
|
||||||
|
|
@ -162,8 +162,8 @@ android {
|
||||||
multiDexEnabled true
|
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"
|
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 2404
|
versionCode 2500
|
||||||
versionName "2.5"
|
versionName "2.8"
|
||||||
}
|
}
|
||||||
|
|
||||||
viewBinding {
|
viewBinding {
|
||||||
|
|
@ -213,6 +213,12 @@ android {
|
||||||
dimension "buildType"
|
dimension "buildType"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
staff {
|
||||||
|
dimension "buildType"
|
||||||
|
buildConfigField "String", "TESTING_LEVEL", "\"staff\""
|
||||||
|
resValue "string", "app_name", "Habitica Staff"
|
||||||
|
}
|
||||||
|
|
||||||
alpha {
|
alpha {
|
||||||
dimension "buildType"
|
dimension "buildType"
|
||||||
buildConfigField "String", "TESTING_LEVEL", "\"alpha\""
|
buildConfigField "String", "TESTING_LEVEL", "\"alpha\""
|
||||||
|
|
|
||||||
7
Habitica/res/color/task_form_box_stroke.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:color="?attr/colorPrimary" android:state_focused="true"/>
|
||||||
|
<item android:alpha="0.87" android:color="?attr/colorPrimary" android:state_hovered="true"/>
|
||||||
|
<item android:alpha="0.12" android:color="?attr/colorPrimary" android:state_enabled="false"/>
|
||||||
|
<item android:alpha="0.38" android:color="?attr/colorPrimary"/>
|
||||||
|
</selector>
|
||||||
BIN
Habitica/res/drawable-hdpi/adventure_guide_art.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
Habitica/res/drawable-hdpi/gold_coins_left.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
Habitica/res/drawable-hdpi/gold_coins_right.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
Habitica/res/drawable-hdpi/ic_keyboard_arrow_right.png
Normal file
|
After Width: | Height: | Size: 264 B |
BIN
Habitica/res/drawable-hdpi/onboarding_done_art.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
Habitica/res/drawable-hdpi/party_invite_accept.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Habitica/res/drawable-hdpi/party_invite_reject.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Habitica/res/drawable-hdpi/pet_checkmark.png
Normal file
|
After Width: | Height: | Size: 564 B |
BIN
Habitica/res/drawable-hdpi/pet_status_egg.png
Normal file
|
After Width: | Height: | Size: 592 B |
BIN
Habitica/res/drawable-hdpi/pet_status_potion.png
Normal file
|
After Width: | Height: | Size: 459 B |
BIN
Habitica/res/drawable-hdpi/star.png
Normal file
|
After Width: | Height: | Size: 347 B |
BIN
Habitica/res/drawable-hdpi/task_broken_megaphone.png
Normal file
|
After Width: | Height: | Size: 648 B |
BIN
Habitica/res/drawable-hdpi/task_icon_calendar.png
Normal file
|
After Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 364 B |
BIN
Habitica/res/drawable-hdpi/task_icon_reminder.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 488 B |
BIN
Habitica/res/drawable-hdpi/task_icon_streak.png
Normal file
|
After Width: | Height: | Size: 304 B |
|
Before Width: | Height: | Size: 128 B |
BIN
Habitica/res/drawable-hdpi/task_icon_tag.png
Normal file
|
After Width: | Height: | Size: 512 B |
|
Before Width: | Height: | Size: 264 B |
BIN
Habitica/res/drawable-hdpi/task_megaphone.png
Normal file
|
After Width: | Height: | Size: 555 B |
BIN
Habitica/res/drawable-mdpi/adventure_guide_art.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 115 B |
BIN
Habitica/res/drawable-mdpi/gold_coins_left.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
Habitica/res/drawable-mdpi/gold_coins_right.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
Habitica/res/drawable-mdpi/ic_keyboard_arrow_right.png
Normal file
|
After Width: | Height: | Size: 191 B |
BIN
Habitica/res/drawable-mdpi/onboarding_done_art.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
Habitica/res/drawable-mdpi/party_invite_accept.png
Normal file
|
After Width: | Height: | Size: 878 B |
BIN
Habitica/res/drawable-mdpi/party_invite_reject.png
Normal file
|
After Width: | Height: | Size: 842 B |
BIN
Habitica/res/drawable-mdpi/pet_checkmark.png
Normal file
|
After Width: | Height: | Size: 379 B |
BIN
Habitica/res/drawable-mdpi/pet_status_egg.png
Normal file
|
After Width: | Height: | Size: 415 B |
BIN
Habitica/res/drawable-mdpi/pet_status_potion.png
Normal file
|
After Width: | Height: | Size: 299 B |
BIN
Habitica/res/drawable-mdpi/star.png
Normal file
|
After Width: | Height: | Size: 220 B |
BIN
Habitica/res/drawable-mdpi/task_broken_megaphone.png
Normal file
|
After Width: | Height: | Size: 443 B |
BIN
Habitica/res/drawable-mdpi/task_icon_calendar.png
Normal file
|
After Width: | Height: | Size: 243 B |
|
Before Width: | Height: | Size: 68 B |
|
Before Width: | Height: | Size: 282 B |
BIN
Habitica/res/drawable-mdpi/task_icon_reminder.png
Normal file
|
After Width: | Height: | Size: 690 B |
|
Before Width: | Height: | Size: 318 B |
BIN
Habitica/res/drawable-mdpi/task_icon_streak.png
Normal file
|
After Width: | Height: | Size: 233 B |
|
Before Width: | Height: | Size: 88 B |
BIN
Habitica/res/drawable-mdpi/task_icon_tag.png
Normal file
|
After Width: | Height: | Size: 333 B |
|
Before Width: | Height: | Size: 206 B |
BIN
Habitica/res/drawable-mdpi/task_megaphone.png
Normal file
|
After Width: | Height: | Size: 397 B |
BIN
Habitica/res/drawable-xhdpi/adventure_guide_art.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
Habitica/res/drawable-xhdpi/gold_coins_left.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
Habitica/res/drawable-xhdpi/gold_coins_right.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
Habitica/res/drawable-xhdpi/ic_keyboard_arrow_right.png
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
Habitica/res/drawable-xhdpi/onboarding_done_art.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
Habitica/res/drawable-xhdpi/party_invite_accept.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Habitica/res/drawable-xhdpi/party_invite_reject.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Habitica/res/drawable-xhdpi/pet_checkmark.png
Normal file
|
After Width: | Height: | Size: 716 B |
BIN
Habitica/res/drawable-xhdpi/pet_status_egg.png
Normal file
|
After Width: | Height: | Size: 817 B |
BIN
Habitica/res/drawable-xhdpi/pet_status_potion.png
Normal file
|
After Width: | Height: | Size: 612 B |
BIN
Habitica/res/drawable-xhdpi/star.png
Normal file
|
After Width: | Height: | Size: 402 B |
BIN
Habitica/res/drawable-xhdpi/task_broken_megaphone.png
Normal file
|
After Width: | Height: | Size: 827 B |
BIN
Habitica/res/drawable-xhdpi/task_icon_calendar.png
Normal file
|
After Width: | Height: | Size: 370 B |
|
Before Width: | Height: | Size: 74 B |
|
Before Width: | Height: | Size: 442 B |
BIN
Habitica/res/drawable-xhdpi/task_icon_reminder.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 592 B |
BIN
Habitica/res/drawable-xhdpi/task_icon_streak.png
Normal file
|
After Width: | Height: | Size: 354 B |
|
Before Width: | Height: | Size: 118 B |
BIN
Habitica/res/drawable-xhdpi/task_icon_tag.png
Normal file
|
After Width: | Height: | Size: 607 B |
|
Before Width: | Height: | Size: 282 B |
BIN
Habitica/res/drawable-xhdpi/task_megaphone.png
Normal file
|
After Width: | Height: | Size: 683 B |
BIN
Habitica/res/drawable-xxhdpi/adventure_guide_art.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
Habitica/res/drawable-xxhdpi/gold_coins_left.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
Habitica/res/drawable-xxhdpi/gold_coins_right.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
Habitica/res/drawable-xxhdpi/ic_keyboard_arrow_right.png
Normal file
|
After Width: | Height: | Size: 442 B |
BIN
Habitica/res/drawable-xxhdpi/onboarding_done_art.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
Habitica/res/drawable-xxhdpi/party_invite_accept.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
Habitica/res/drawable-xxhdpi/party_invite_reject.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
Habitica/res/drawable-xxhdpi/pet_checkmark.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Habitica/res/drawable-xxhdpi/pet_status_egg.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Habitica/res/drawable-xxhdpi/pet_status_potion.png
Normal file
|
After Width: | Height: | Size: 869 B |
BIN
Habitica/res/drawable-xxhdpi/star.png
Normal file
|
After Width: | Height: | Size: 618 B |
BIN
Habitica/res/drawable-xxhdpi/task_broken_megaphone.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Habitica/res/drawable-xxhdpi/task_icon_calendar.png
Normal file
|
After Width: | Height: | Size: 524 B |
|
Before Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 578 B |
BIN
Habitica/res/drawable-xxhdpi/task_icon_reminder.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 878 B |
BIN
Habitica/res/drawable-xxhdpi/task_icon_streak.png
Normal file
|
After Width: | Height: | Size: 491 B |
|
Before Width: | Height: | Size: 150 B |
BIN
Habitica/res/drawable-xxhdpi/task_icon_tag.png
Normal file
|
After Width: | Height: | Size: 859 B |
|
Before Width: | Height: | Size: 380 B |
BIN
Habitica/res/drawable-xxhdpi/task_megaphone.png
Normal file
|
After Width: | Height: | Size: 971 B |
BIN
Habitica/res/drawable-xxxhdpi/gold_coins_left.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
Habitica/res/drawable-xxxhdpi/gold_coins_right.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
Habitica/res/drawable-xxxhdpi/ic_keyboard_arrow_right.png
Normal file
|
After Width: | Height: | Size: 646 B |