Fix isProVersion() returning always false

This commit is contained in:
Karim Abou Zeid 2017-08-31 19:55:00 +02:00
commit 344404c03f
3 changed files with 10 additions and 5 deletions

View file

@ -42,8 +42,8 @@ android {
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
applicationId 'com.kabouzeid.gramophone' applicationId 'com.kabouzeid.gramophone'
versionCode 133 versionCode 134
versionName '0.16.0 BETA 1' versionName '0.16.0 BETA 2'
} }
buildTypes { buildTypes {
release { release {
@ -110,7 +110,7 @@ dependencies {
compile 'com.github.ksoichiro:android-observablescrollview:1.6.0' compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.anjlab.android.iab.v3:library:1.0.40' compile 'com.anjlab.android.iab.v3:library:1.0.44'
compile 'de.psdev.licensesdialog:licensesdialog:1.8.1' compile 'de.psdev.licensesdialog:licensesdialog:1.8.1'
compile 'com.github.bumptech.glide:glide:3.8.0' compile 'com.github.bumptech.glide:glide:3.8.0'
compile 'com.github.bumptech.glide:okhttp3-integration:1.5.0' compile 'com.github.bumptech.glide:okhttp3-integration:1.5.0'

View file

@ -25,6 +25,12 @@
<p>You can view the changelog dialog again at any time from the <i>about</i> section.</p> <p>You can view the changelog dialog again at any time from the <i>about</i> section.</p>
<h3>Version 0.16.0 BETA 2</h3>
<ol>
<li><b>FIX:</b> Phonograph Pro license error</li>
</ol>
<h3>Version 0.16.0 BETA 1</h3> <h3>Version 0.16.0 BETA 1</h3>
<ol> <ol>
@ -40,7 +46,6 @@
<li><b>NEW:</b> Synchronized lyrics support</li> <li><b>NEW:</b> Synchronized lyrics support</li>
<li><b>NEW:</b> New widgets</li> <li><b>NEW:</b> New widgets</li>
<li><b>FIX:</b> Many bug fixes</li> <li><b>FIX:</b> Many bug fixes</li>
</ol> </ol>
<h3>Version 0.15.0</h3> <h3>Version 0.15.0</h3>

View file

@ -63,7 +63,7 @@ public class App extends Application {
} }
public static boolean isProVersion() { public static boolean isProVersion() {
return false; //BuildConfig.DEBUG || app.billingProcessor.isPurchased(PRO_VERSION_PRODUCT_ID); return BuildConfig.DEBUG || app.billingProcessor.isPurchased(PRO_VERSION_PRODUCT_ID);
} }
@Override @Override