Skip to content

Commit

Permalink
added dialog with upgrade infos, so that users migrate to new app id
Browse files Browse the repository at this point in the history
  • Loading branch information
johnzweng committed Dec 16, 2014
1 parent b20e5db commit eae28c3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="at.zweng.bankomatinfos"
android:versionCode="12"
android:versionName="1.2.6" >
android:versionCode="17"
android:versionName="1.2.6-END-OF-LIFE" >

<uses-sdk
android:minSdkVersion="15"
Expand Down
4 changes: 3 additions & 1 deletion res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,7 @@
<string name="cryptogram_type_aac">Die Karte hat diese Transaktion gleich offline abgelehnt.</string>
<string name="cryptogram_type_rfu">Dieser Typ ist reserviert für zukünftige Anwendungen.</string>


<!-- Important Update Notice -->
<string name="upgrade_notice_title">Update Hinweis</string>
<string name="upgrade_notice_text">WICHTIGER UPDATE HINWEIS!\n\nDa Google diese App (wegen des Paypal Spenden Buttons) im Play Store gesperrt hat (und leider keine Möglichkeit anbietet diese Sperre wieder rückgängig zu machen), habe ich schweren Herzens beschlossen, die App (jetzt ohne Spenden-Buttons) unter einem neuen Namen und einer neuen App-ID zu veröffentlichen.\n\nBitte deinstallieren Sie daher diese Version der App und installieren Sie die neue Version, die nun ab sofort heißt:\n\n\"Bankomat Card Infos 2\"\n\n\nDas ist dieselbe App, weiterhin Open-Source, weiterhin frei verfügbar, nur unter einem neuen Namen und ist auch im F-Droid Repository zu finden. Es tut mir aufrichtig leid für die Unannehmlichkeiten.\n\nDanke für Ihr Verständnis und Ihre Unterstützung,\n\nJohannes Zweng\n\n\nP.S.: Als kleine Entschädigung: die neue Version kann nun auch VISA und Mastercard Karten lesen. :-)</string>
</resources>
3 changes: 3 additions & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,7 @@
<string name="cryptogram_type_aac">The card immediately declined this transaction offline.</string>
<string name="cryptogram_type_rfu">This type is reserved for future use.</string>

<!-- Important Update Notice -->
<string name="upgrade_notice_title">Upgrade notice</string>
<string name="upgrade_notice_text">IMPORTANT UPGRADE NOTE!\n\nBecause Google blocked this application ID in their Play Store (because of the Paypal donation button) and offers no way to activate it again I reluctantly decided to publish this application (now without a donation dialog) under a new name and application ID.\n\nPlease uninstall this version of the application and install the new application, which is now called:\n\n\n\"Bankomat Card Infos 2\"\n\n\nIt\'s the same application, still free, still open-source, just under a new name and can also be found in the F-Droid repository. I am really sorry for this inconvenience.\n\nThanks for your understanding and your support,\n\nJohannes Zweng\n\n\nP.S.: As a small compensation: the new version now also supports reading of VISA and Mastercard credit cards. :-)</string>
</resources>
6 changes: 5 additions & 1 deletion src/at/zweng/bankomatinfos/ui/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import at.zweng.bankomatinfos.model.CardInfo;
import at.zweng.bankomatinfos.util.ChangeLog;
import at.zweng.bankomatinfos.util.CustomAlertDialog;
import at.zweng.bankomatinfos.util.Utils;

/**
* Startup activity
Expand Down Expand Up @@ -69,7 +70,10 @@ protected void onCreate(Bundle savedInstanceState) {
_nfcAdapter = NfcAdapter.getDefaultAdapter(this);

// create last changes dialog if needed
displayWhatsNew();
// displayWhatsNew();
Utils.displaySimpleAlertDialog(this,
getString(R.string.upgrade_notice_title),
getString(R.string.upgrade_notice_text));

}

Expand Down

0 comments on commit eae28c3

Please sign in to comment.