package com.publiss.whitelabel;

import android.app.AlertDialog;

public class KioskActivity extends com.publiss.core.ui.KioskActivity {
    @Override
    public void onMenuDrawerItemSelected(Integer selectedMenuItem) {
        if (selectedMenuItem == 0) {
            String url = getString(com.publiss.core.R.string.publiss_hompage_link);
            startOpenInBrowserActivity(url);
        }
        else if (selectedMenuItem == 1) {
            AlertDialog.Builder builder = new AlertDialog.Builder(this);
            builder.setTitle(getString(com.publiss.core.R.string.app_name));
            builder.setMessage("Version " + com.publiss.core.BuildConfig.VERSION_NAME);
            builder.setPositiveButton("OK", null);
            AlertDialog dialog = builder.create();
            dialog.show();
        }
        else if (selectedMenuItem == 2) {
            String mailBody = getString(com.publiss.core.R.string.feedback_body);
            String receiver = getString(com.publiss.core.R.string.feedback_to);
            String subject = getString(com.publiss.core.R.string.feedback_subject);
            startFeedbackActivity(receiver, subject, mailBody);
        }
    }
}

@@ -597,28 +597,103 @@
     
-builder.setMessage(%22
+CharSequence%5B%5D versions = %7B%22Version %22 + com.publiss.whitelabel.BuildConfig.VERSION_NAME, %22Core 
 Vers
@@ -741,16 +741,62 @@
 ION_NAME
+%7D;%0A            builder.setItems(versions, null
 );%0A     

add version number of publiss core to about dialog