Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed Jun 4, 2018
1 parent 6eac667 commit fc306d4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ android {
applicationId "jahirfiquitiva.apps.blueprint.demo"
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
versionCode 118
versionName "1.1.8"
versionCode 120
versionName "1.2.0"
vectorDrawables.useSupportLibrary = true
proguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro'
consumerProguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro'
Expand Down Expand Up @@ -86,7 +86,7 @@ android {

dependencies {
// Blueprint
implementation('com.jahirfiquitiva:Blueprint:1.1.8@aar') {
implementation('com.jahirfiquitiva:Blueprint:1.2.0@aar') {
transitive = true
}
// TODO: Remove comment marks to enable
Expand Down
4 changes: 4 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
**[] $VALUES;
public *;
}
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}

-keep class jahirfiquitiva.libs.frames.** { *; }
-keep class jahirfiquitiva.libs.kuper.** { *; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package jahirfiquitiva.apps.blueprint.demo

import com.github.javiersantos.piracychecker.PiracyChecker
import jahirfiquitiva.libs.blueprint.data.models.NavigationItem
import jahirfiquitiva.libs.blueprint.models.NavigationItem
import jahirfiquitiva.libs.blueprint.ui.activities.BottomNavigationBlueprintActivity

/**
Expand All @@ -30,17 +30,17 @@ class MainActivity : BottomNavigationBlueprintActivity() {
* and/or modify the ones you want to.
*/
override var donationsEnabled = true

override fun amazonInstallsEnabled(): Boolean = false
override fun checkLPF(): Boolean = true
override fun checkStores(): Boolean = true

/**
* This is your app's license key. Get yours on Google Play Dev Console.
* Default one isn't valid and could cause issues in your app.
*/
override fun getLicKey(): String? = "MIIBIjANBgkqhkiGgKglYGYGihLuihUuhhuBlouBkuiu"

/**
* This is the license checker code. Feel free to create your own implementation or
* leave it as it is.
Expand All @@ -52,7 +52,7 @@ class MainActivity : BottomNavigationBlueprintActivity() {
return if (BuildConfig.DEBUG) null
else super.getLicenseChecker()
}

/**
* These are the main items that will be shown in the navigation drawer or bottom navigation.
* Remove the ones you don't want to show.
Expand All @@ -61,10 +61,19 @@ class MainActivity : BottomNavigationBlueprintActivity() {
*/
override fun getNavigationItems(): Array<NavigationItem> {
return arrayOf(
NavigationItem.HOME,
NavigationItem.ICONS,
NavigationItem.WALLPAPERS,
NavigationItem.APPLY,
NavigationItem.REQUESTS)
NavigationItem.HOME,
NavigationItem.ICONS,
NavigationItem.WALLPAPERS,
NavigationItem.APPLY,
NavigationItem.REQUESTS)
}
}

/**
* When set to true, the app will print warnings for duplicated components or missing icons from
* appfilter.xml
*
* If set to BuildConfig.DEBUG, the app will print the warnings only while debugging the app
* (This is the safest option, so the apk you publish in PlayStore doesn't print them)
*/
override fun debug(): Boolean = BuildConfig.DEBUG
}

0 comments on commit fc306d4

Please sign in to comment.