Releases: hummatli/AppCrossPromoter
Releases · hummatli/AppCrossPromoter
Image cache has changed to custom folder with the help of GlideModule.
Version: v2.1.5
- Image cache has changed to custom folder with the help of
MAHGlideModule
. If you don't want to useMAHGlideModule
you can add following line toAndroidManifest.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
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
fromimport com.mobapphome.mahads.tools.MAHAdsController;
toimport 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()
methodBundle savedInstanceState
- Change MAHAdsController from static to instance
MAHAdsController.init(this,,,);
tomahAdsController.init(this,,,);
MAHAdsController.callExitDialog(this);
tomahAdsController.callExitDialog(this);
MAHAdsController.callProgramsDialog(this);
tomahAdsController.callProgramsDialog(this);
MAHAdsController.init(this,,,);
tomahAdsController.init(this,,,);
- Added new method
onSaveInstanceState(outState)
toMAHAdsController
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.
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
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
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
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
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'scolors.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 packagecom.mobapphome.mahads.MAHAdsDlgExit.MAHAdsDlgExitListener
public void onEventHappened(String eventStr);
This new method added toMAHAdsDlgExitListener
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. ThereforeMAHAdsController.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'
}