Skip to content

Releases: hummatli/AppCrossPromoter

Image cache has changed to custom folder with the help of GlideModule.

27 Mar 07:07
Compare
Choose a tag to compare

Version: v2.1.5

  • Image cache has changed to custom folder with the help of MAHGlideModule. If you don't want to use MAHGlideModule you can add following line to AndroidManifest.xml
    <meta-data android:name="com.mobapphome.mahads.tools.MAHGlideModule" tools:node="remove" />
  • Minor bug fixed

Import library

To import library to you project add following lines to project's build.gradle file.

    dependencies {
            compile 'com.mobapphome.library:mah-android-updater2.1.5'
    }

Has changed methods types of MAHAdsController form static to instance

26 Feb 06:46
Compare
Choose a tag to compare

Version: v2.1.2

  • MAHAdsController's package has changed from "com.mobapphome.mahads.tools.MAHAdsController" to "com.mobapphome.mahads.MAHAdsController"
  • MAHAdsController's methods' types has changed form "static" to "instance"
  • Minor bugs fixed

Migration to version v2.1.2

  • Chage your MAHAdsController package
    from import com.mobapphome.mahads.tools.MAHAdsController; to import com.mobapphome.mahads.MAHAdsController;
  • In MainActivity declare as a global variable and instantiate it on the star(in onCreate()) of your activity
    MAHAdsController mahAdsController;
    mahAdsController = MAHAdsController.getInstance();
  • Added new parameter to MAHAdsController's init() method Bundle savedInstanceState
  • Change MAHAdsController from static to instance
    • MAHAdsController.init(this,,,); to mahAdsController.init(this,,,);
    • MAHAdsController.callExitDialog(this); to mahAdsController.callExitDialog(this);
    • MAHAdsController.callProgramsDialog(this); to mahAdsController.callProgramsDialog(this);
    • MAHAdsController.init(this,,,); to mahAdsController.init(this,,,);
  • Added new method onSaveInstanceState(outState) to MAHAdsController to save controller states on recreation of Activity. Look read me how to use it

Import library

To import library to you project add following lines to project's build.gradle file.

    dependencies {
            compile 'com.mobapphome.library:mah-android-updater2.1.2'
    }

Minor bugs fixed and changed some string names in translation file.

29 Jan 10:01
Compare
Choose a tag to compare

Version: v2.1.0

  • Added Italian language UI support. Thanks to @rawnly
  • Minor bugs fixed
  • To help translators changed some string names in "strings.xml". Added some prefix to them for precise translation. If you translate this variables in your own xml change variable name in your app too.
    * command verb (actions) - These are commands verbs. Meaninaction on UI , dialogs
    * adjective - adjectives

They are followings:

    <string name="cmnd_verb_mah_ads_close">Close</string>
    <string name="cmnd_verb_mah_ads_open_program">Open</string>
    <string name="cmnd_verb_mah_ads_install_program">Install</string>
    <string name="cmnd_verb_mah_ads_refresh_btn">Retry</string>
    <string name="adjective_mah_ads_new_text">New</string>
    <string name="cmnd_verb_mah_ads_dlg_exit_positive_btn_txt">Exit</string>
    <string name="cmnd_verb_mah_ads_dlg_exit_negativ_btn_txt">Stay</string>

Migration to version v2.1.0

  • If you translate UI in your own app change variable names (upper mentioned) in your app too.

Import library

To import library to you project add following lines to project's build.gradle file.

    dependencies {
            compile 'com.mobapphome.library:mah-android-updater2.1.0'
    }

Added support to German, Hindi, Spanish and fixed minor bugs

21 Jan 08:52
Compare
Choose a tag to compare

Version v2.0.9

  • Added German, Hindi, Spanish languages support. Thanks to @dalwadi2
  • Minor bugs fixed

Import library

To import library to you project add following lines to project's build.gradle file.

    dependencies {
            compile 'com.mobapphome.library:mah-android-updater:2.0.9'
    }

Configured to read from cache before starts ExitDlg and ProgramsDlg

05 Jan 11:02
Compare
Choose a tag to compare

Version v2.0.4

  • Configured to read from cache before starts ExitDlg and ProgramsDlg

Import library

To import library to you project add following lines to project's build.gradle file.

    dependencies {
            compile 'com.mobapphome.library:mah-android-updater:2.0.4'
    }

Added Portuguese language support

25 Dec 13:34
Compare
Choose a tag to compare

Version v2.0.3

  • Added Portuguese language support. Thanks to @azzarr

Import library

To import library to you project add following lines to project's build.gradle file.

    dependencies {
            compile 'com.mobapphome.library:mah-android-updater:2.0.3'
    }

Library has redesigned of and bugs fixed

23 Dec 12:17
Compare
Choose a tag to compare

Version: v2.0.2

  • Changed caching system
  • MAHAdsDlgExit dialog's UI has changed.
  • Added support work with https urls too
  • Image caching has changed from Picasso to Glide.
  • Added support to French language. Thanks to @farizaghayev
  • Add new versions of "MAHUpdaterController.init()" method.
  • Added functionality to customize and change visibility Info button on the right upper corner of dialogs. You can do it with the help of "MAHUpdaterController.init()"
  • Added new string to "strings.xml". Try to translate it if your language is not listed in language files.
<!--new--> <string name="mah_ads_play_service_not_found">Install Google Play Services to install application</string>  
  • Added new colors to "colors.xml". Add this to your app's colors.xml file
<!--new--> <color name="mah_ads_title_bar_text_color">#ffffff</color>
<!--new--> <color name="mah_ads_program_item_desc_text_color">#4a76e6</color>
<!--new--> <color name="mah_ads_no_image_color">#3F51B5</color>

*Bugs fixed

Migration to version v2.0.2

  • MAHAdsDlgExitListener has moved to new package com.mobapphome.mahads.MAHAdsDlgExit.MAHAdsDlgExitListener
  • public void onEventHappened(String eventStr); This new method added to MAHAdsDlgExitListener class. You will need implement it to when using it.
  • Added variation of MAHAdsController.init() methods. Now you can name your urls as you want. Previos was predefined. Therefore MAHAdsController.init(Activity, Rooturl) has deprecated. Use newer ones.
  • add these colors to your colors.xml
<!--new--> <color name="mah_ads_title_bar_text_color">#ffffff</color>
<!--new--> <color name="mah_ads_program_item_desc_text_color">#4a76e6</color>
<!--new--> <color name="mah_ads_no_image_color">#3F51B5</color>
  • Add new string to "strings.xml". Try to translate it if your language is not listed in language files.
<!--new--> <string name="mah_ads_play_service_not_found">Install Google Play Services to install application</string>  
  • Add new exception to proguard file. Because new Glide library using for image caching.
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
  **[] $VALUES;
  public *;
}
#Following is needed for Glide on DexGuard only. Uncomment it when DexGuard
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule

Import library

To import library to you project add following lines to project's build.gradle file.

    dependencies {
            compile 'com.mobapphome.library:mah-android-updater:2.0.2'
    }