Skip to content

Commit

Permalink
Major Commit - 0.8.5
Browse files Browse the repository at this point in the history
 - Added AndroidTV Support (Alpha)
 - Updated dependencies
 - Updated build.gradle
 - Updated README
  • Loading branch information
Sher1234 committed Apr 12, 2020
1 parent b06cd8f commit 588c60f
Show file tree
Hide file tree
Showing 36 changed files with 134 additions and 421 deletions.
20 changes: 20 additions & 0 deletions .idea/DtonatorPreferences.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/assetWizardSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
6 changes: 6 additions & 0 deletions .idea/dictionaries/agghu.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ an!me implements number of open source projects listed bellow:
- Firebase for FCM notifications & google ads

#### *Notes:*
- Versions 0.8.0 (+) Based on Api-6 ***[Supported]***
- Both major revisions i.e. 0.7.0 & 0.7.5 are based on Same API ***[Supported Till Major Revision]***
- Versions 0.7.5 ***[Reinstall Required/Changed Signing Keys/Supported]***
- Versions 0.7.0 to 0.7.4 [Reinstall Required/Changed Signing Keys/Supported]
- Versions 0.6.5 and earlier [Deprecated]
- ***[Supported]*** Versions 0.8.0 (and above) (Api-v6)
- ***[Supported]*** Versions 0.7.0 - 0.7.9 (Api-v5)
- [Changed Signing Keys] Versions 0.7.5 - 0.7.9
- [Changed Signing Keys] Versions 0.7.0 - 0.7.4
- [Unsupported] Versions 0.6.5 and earlier


#### Features
Expand All @@ -34,6 +34,7 @@ an!me implements number of open source projects listed bellow:

#### Release Updates
```
Added support for TV [Alpha], Updated dependecies Major Commit - April 12, 2020
Updated dependecies & Kotlin 1.4. Minor Commit - Mar 22, 2020
Fixed Ads Support. Minor Commit - Nov 10, 2019
Tablet Support & Updated Privacy Policy. Major Commit - Nov 10, 2019
Expand Down
40 changes: 17 additions & 23 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ apply plugin: 'kotlin-android-extensions'

android {
signingConfigs {
release {
storeFile file('D:\\creators_lab.jks')
storePassword '12041997'
keyAlias = 'sher1234'
keyPassword '12041997'
}
debug {
key {
storeFile file('D:\\creators_lab.jks')
storePassword '12041997'
keyAlias = 'sher1234'
Expand All @@ -22,19 +16,19 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "info.horriblesubs.sher"
targetSdkVersion 29
versionName "0.8.4"
versionName "0.8.5"
minSdkVersion 21
versionCode 84
versionCode 85
}
buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
signingConfig signingConfigs.key
minifyEnabled false
}
debug{
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
signingConfig signingConfigs.key
minifyEnabled false
}
}
Expand All @@ -43,9 +37,8 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
kotlinOptions { jvmTarget = "1.8" }
lintOptions { checkReleaseBuilds false }
}

configurations {
Expand All @@ -55,29 +48,30 @@ configurations {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5'

implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.5'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.appcompat:appcompat:1.2.0-alpha03'
implementation 'androidx.appcompat:appcompat:1.2.0-beta01'
implementation 'androidx.preference:preference:1.1.0'
implementation 'androidx.core:core-ktx:1.3.0-alpha02'
implementation 'androidx.core:core-ktx:1.3.0-beta01'

implementation 'com.google.android.material:material:1.2.0-alpha05'
implementation 'com.google.android.gms:play-services-ads:19.0.1'
implementation 'com.google.firebase:firebase-messaging:20.1.3'
implementation 'com.google.firebase:firebase-core:17.2.3'
implementation 'com.google.android.play:core:1.7.1'
implementation 'com.google.firebase:firebase-messaging:20.1.5'
implementation 'com.google.firebase:firebase-core:17.3.0'
implementation 'com.google.android.play:core:1.7.2'

implementation 'com.squareup.retrofit2:retrofit:2.7.2'
implementation 'com.squareup.retrofit2:retrofit:2.8.1'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'com.squareup.retrofit2:converter-gson:2.7.2'
implementation 'com.squareup.retrofit2:converter-gson:2.8.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'

testImplementation 'junit:junit:4.13'
implementation fileTree(include: ['*.jar'], dir: 'libs')
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.5'
androidTestImplementation 'androidx.test.ext:junit:1.1.2-alpha05'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha05'
}
Expand Down
Binary file modified app/release/app-release.aab
Binary file not shown.
Binary file modified app/release/app-release.apk
Binary file not shown.
38 changes: 19 additions & 19 deletions app/release/output.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[
{
"outputType": {
"type": "APK"
},
"apkData": {
"type": "MAIN",
"splits": [],
"versionCode": 79,
"versionName": "0.8.0",
{
"version": 1,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "info.horriblesubs.sher",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"properties": [],
"versionCode": 85,
"versionName": "85",
"enabled": true,
"outputFile": "app-release.apk",
"fullName": "release",
"baseName": "release",
"dirName": ""
},
"path": "app-release.apk",
"properties": {}
}
]
"outputFile": "app-release.apk"
}
]
}
6 changes: 6 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@

<uses-permission android:name="android.permission.INTERNET" />

<uses-feature android:name="android.software.leanback" android:required="false" />

<uses-feature android:name="android.hardware.touchscreen" android:required="false" />

<application
android:fullBackupContent="@xml/backup_descriptor"
android:roundIcon="@mipmap/ic_launcher_round"
tools:ignore="GoogleAppIndexingWarning"
android:banner="@drawable/logo_tv_"
android:icon="@mipmap/ic_launcher"
android:theme="@style/Theme"
android:supportsRtl="true"
Expand Down Expand Up @@ -54,6 +59,7 @@
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>

Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/info/horriblesubs/sher/adapter/Schedule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ class ScheduleAdapter (click: ItemClick<ItemSchedule>?, items: List<ItemSchedule
}
}

class ScheduleHolder (private val time: ZonedDateTime, itemClick: ItemClick<ItemSchedule>?,
adapter: ScheduleAdapter, group: ViewGroup):
BaseHolder<ItemSchedule>(itemClick, adapter, R.layout._recycler_d, group) {
class ScheduleHolder (
private val time: ZonedDateTime, itemClick: ItemClick<ItemSchedule>?,
adapter: ScheduleAdapter, group: ViewGroup
): BaseHolder<ItemSchedule>(itemClick, adapter, R.layout._recycler_d, group) {

private val imageView: AppCompatImageView = itemView.findViewById(R.id.imageView)
private val textView1: AppCompatTextView = itemView.findViewById(R.id.textView1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package info.horriblesubs.sher.api.mal

interface JikanMAL
interface JikanMal
41 changes: 0 additions & 41 deletions app/src/main/java/info/horriblesubs/sher/api/mal/model/BaseMal.kt

This file was deleted.

Loading

0 comments on commit 588c60f

Please sign in to comment.