Skip to content

Commit 2c6c364

Browse files
committed
Release 1.2.1 Osaka
1 parent ad94504 commit 2c6c364

27 files changed

+86
-42
lines changed

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,38 @@
11
# CHANGELOG
22

3-
## 1.2.1 Osaka (next release)
4-
3+
## 1.2.1 Osaka (released 13.09.2018)
4+
5+
- LIBcc20913 Javadoc documentation updated
6+
- LIBcc10913 Inspection
7+
- LIBff10913 .setTimeToWait(...) and .setRemindTimeToWait(...) added
8+
- LIBff10912 .setVersionCodeCheck(boolean) and .setVersionNameCheck(boolean) added
9+
- LIBcc20912 AppInformation.java refactoring
10+
- LIBcc10912 AppInformation.java refactoring
11+
- LIBcc50908 .idea files updated
12+
- LIBcc40908 sample app updated
13+
- LIBcc30908 README.md updated
14+
- LIBcc20908 AppRate.java inspection
15+
- LIBcc10908 getAppCompatDialogBuilder(...) and getDialogBuilder(...) updated
16+
- LIBff10908 AppInformation Class added
17+
- LIBff70905 AppRate#setRemindLaunchesNumber(byte) added
18+
- LIBff60905 clearRemindButtonClick() added
19+
- LIBff50905 Romanian language added
20+
- LIBff40905 Norwegian language added
21+
- LIBff30905 Malay language added
22+
- LIBff20905 Hindi languages added
23+
- LIBff10905 Android Library launcher icon added
24+
- LIBcc30905 README.md updated
25+
- LIBcc20905 Copyright corrected
26+
- LIBbb30905 AppCompatDialogManager and DefaultDialogManager singletons don't set context in synchronized(...){}
27+
- LIBbb20905 Add SoftReference to OnClickButtonListener [hotchemi/Android-Rate#79](https://github.com/hotchemi/Android-Rate/issues/79)
28+
- LIBbb10905 Remove WeekReference to OnClickButtonListener [hotchemi/Android-Rate#115](https://github.com/hotchemi/Android-Rate/issues/115)
29+
- LIBcc10905 "Latest snapshot (non-tested) version" section added
30+
- LIBff30904 AppCompatDialogManager example of use added
31+
- LIBff20904 isOverRemindDate() optimization
32+
- LIBcc20904 badge updated
33+
- LIBcc10904 javadoc and documentation updated
34+
- LIBff10904 AppCompatDialogManager added
35+
- LIBff10831 Dialog type added
536
- LIBcc50831 Next release
637

738
## 1.2.0 Yokohama (released 31.08.2018)

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ If you don't want to wait for the next release, you can add the Sonatype's snaps
5656
Then add the following dependency to your relevant project modules `build.gradle` files:
5757

5858
dependencies {
59-
implementation "com.vorlonsoft:androidrate:1.2.1-SNAPSHOT"
59+
implementation "com.vorlonsoft:androidrate:1.2.2-SNAPSHOT"
6060
}
6161

6262
## Usage
@@ -92,7 +92,7 @@ protected void onCreate(Bundle savedInstanceState) {
9292
.setInstallDays((byte) 0) // default is 10, 0 means install day, 10 means app is launched 10 or more days later than installation
9393
.setLaunchTimes((byte) 3) // default is 10, 3 means app is launched 3 or more times
9494
.setRemindInterval((byte) 1) // default is 1, 1 means app is launched 1 or more days after neutral button clicked
95-
// Since Release 1.2.1: .setRemindLaunchesNumber((byte) 1) // default is 0, 1 means app is launched 1 or more times after neutral button clicked
95+
.setRemindLaunchesNumber((byte) 1) // default is 0, 1 means app is launched 1 or more times after neutral button clicked
9696
.monitor(); // Monitors app launch times
9797
AppRate.showRateDialogIfMeetsConditions(this); // Shows the Rate Dialog when conditions are met
9898
}
@@ -115,15 +115,15 @@ protected void onCreate(Bundle savedInstanceState) {
115115
* setStoreType(APPLE, long) (Apple App Store, long - your application ID),
116116
* setStoreType(String...) (Any other store/stores, String... - an URI or array of URIs to your app) and
117117
* setStoreType(Intent...) (Any custom intent/intents, Intent... - an intent or array of intents) */
118-
.setInstallDays((byte) 0) // default is 10, 0 means install day, 10 means app is launched 10 or more days later than installation
118+
.setTimeToWait(Time.DAY, (short) 0) // default is 10 days, 0 means install millisecond, 10 means app is launched 10 or more time units later than installation
119119
.setLaunchTimes((byte) 3) // default is 10, 3 means app is launched 3 or more times
120-
.setRemindInterval((byte) 1) // default is 1, 1 means app is launched 1 or more days after neutral button clicked
121-
// Since Release 1.2.1: .setRemindLaunchesNumber((byte) 1) // default is 0, 1 means app is launched 1 or more times after neutral button clicked
120+
.setRemindTimeToWait(Time.DAY, (short) 2) // default is 1 day, 1 means app is launched 1 or more time units after neutral button clicked
121+
.setRemindLaunchesNumber((byte) 1) // default is 0, 1 means app is launched 1 or more times after neutral button clicked
122122
.setSelectedAppLaunches((byte) 1) // default is 1, 1 means each launch, 2 means every 2nd launch, 3 means every 3rd launch, etc
123123
.setShowLaterButton(true) // default is true, true means to show the Neutral button ("Remind me later").
124124
.set365DayPeriodMaxNumberDialogLaunchTimes((short) 3) // default is unlimited, 3 means 3 or less occurrences of the display of the Rate Dialog within a 365-day period
125-
// Since Release 1.2.1: .setVersionCodeCheck(true) // default is false, true means to re-enable the Rate Dialog if a new version of app with different version code is installed
126-
// Since Release 1.2.1: .setVersionNameCheck(true) // default is false, true means to re-enable the Rate Dialog if a new version of app with different version name is installed
125+
.setVersionCodeCheck(true) // default is false, true means to re-enable the Rate Dialog if a new version of app with different version code is installed
126+
.setVersionNameCheck(true) // default is false, true means to re-enable the Rate Dialog if a new version of app with different version name is installed
127127
.setDebug(false) // default is false, true is for development only, true ensures that the Rate Dialog will be shown each time the app is launched
128128
.setOnClickButtonListener(which -> Log.d(this.getLocalClassName(), Byte.toString(which))) // Java 8+, change for Java 7-
129129
.monitor(); // Monitors the app launch times
@@ -141,15 +141,15 @@ protected void onCreate(Bundle savedInstanceState) {
141141
Default options of the Rate Dialog are as below:
142142

143143
1. Google Play launches when you press the positive button. Change via `AppRate#setStoreType(int)`, `AppRate#setStoreType(int, long)`, `AppRate#setStoreType(String...)` or `AppRate#setStoreType(Intent...)`.
144-
2. App is launched 10 or more days later than installation. Change via `AppRate#setInstallDays(byte)`.
144+
2. App is launched 10 or more days later than installation. Change via `AppRate#setTimeToWait(long, short)` or `AppRate#setInstallDays(byte)`.
145145
3. App is launched 10 or more times. Change via `AppRate#setLaunchTimes(byte)`.
146-
4. App is launched 1 or more days after neutral button clicked. Change via `AppRate#setRemindInterval(byte)`.
147-
Since Release 1.2.1: 5. App is launched 0 or more times after neutral button clicked. Change via `AppRate#setRemindLaunchesNumber(byte)`.
146+
4. App is launched 1 or more days after neutral button clicked. Change via `AppRate#setRemindTimeToWait(long, short)` or `AppRate#setRemindInterval(byte)`.
147+
5. App is launched 0 or more times after neutral button clicked. Change via `AppRate#setRemindLaunchesNumber(byte)`.
148148
6. Each launch (the condition is satisfied if appLaunches % `param` == 0). Change via `AppRate#setSelectedAppLaunches(byte)`.
149149
7. App shows the Neutral button ("Remind me later"). Change via `setShowLaterButton(boolean)`.
150150
8. Unlimited occurrences of the display of the Rate Dialog within a 365-day period. Change via `AppRate#set365DayPeriodMaxNumberDialogLaunchTimes(short)`.
151-
Since Release 1.2.1: 9. Don't re-enable the Rate Dialog if a new version of app with different version code is installed. Change via `AppRate#setVersionCodeCheck(boolean)`.
152-
Since Release 1.2.1: 10. Don't re-enable the Rate Dialog if a new version of app with different version name is installed. Change via `AppRate#setVersionNameCheck(boolean)`.
151+
9. Don't re-enable the Rate Dialog if a new version of app with different version code is installed. Change via `AppRate#setVersionCodeCheck(boolean)`.
152+
10. Don't re-enable the Rate Dialog if a new version of app with different version name is installed. Change via `AppRate#setVersionNameCheck(boolean)`.
153153
11. Setting `AppRate#setDebug(boolean)` to `true` ensures that the Rate Dialog will be shown each time the app is launched. **This feature is for development only!**.
154154
12. There is no default callback when the button of Rate Dialog is pressed. Change via `AppRate.with(this).setOnClickButtonListener(OnClickButtonListener)`.
155155

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ android.enableR8 = true
1414
android.useAndroidX = true
1515

1616
GROUP = com.vorlonsoft
17-
VERSION_NAME = 1.2.1-SNAPSHOT
17+
VERSION_NAME = 1.2.1
1818
VERSION_CODE = 45
1919

2020
POM_DESCRIPTION = Library to help you promote your Android app by prompting users to rate the app after using it for a few days.

javadoc/com/vorlonsoft/android/rate/AppRate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ <h2 title="Class AppRate" class="title">Class AppRate</h2>
117117
<dt><span class="simpleTagLabel">Since:</span></dt>
118118
<dd>0.0.4</dd>
119119
<dt><span class="simpleTagLabel">Version:</span></dt>
120-
<dd>1.2.0</dd>
120+
<dd>1.2.1</dd>
121121
<dt><span class="simpleTagLabel">Author:</span></dt>
122122
<dd>Alexander Savin, Shintaro Katafuchi</dd>
123123
</dl>

javadoc/com/vorlonsoft/android/rate/DefaultDialogManager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h2 title="Class DefaultDialogManager" class="title">Class DefaultDialogManager<
130130
<dt><span class="simpleTagLabel">Since:</span></dt>
131131
<dd>1.0.2</dd>
132132
<dt><span class="simpleTagLabel">Version:</span></dt>
133-
<dd>1.2.0</dd>
133+
<dd>1.2.1</dd>
134134
<dt><span class="simpleTagLabel">Author:</span></dt>
135135
<dd>Alexander Savin, Antoine Vianey</dd>
136136
<dt><span class="seeLabel">See Also:</span></dt>

javadoc/com/vorlonsoft/android/rate/DialogManager.Factory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h2 title="Interface DialogManager.Factory" class="title">Interface DialogManage
119119
<dt><span class="simpleTagLabel">Since:</span></dt>
120120
<dd>1.0.2</dd>
121121
<dt><span class="simpleTagLabel">Version:</span></dt>
122-
<dd>1.2.0</dd>
122+
<dd>1.2.1</dd>
123123
<dt><span class="simpleTagLabel">Author:</span></dt>
124124
<dd>Alexander Savin, Antoine Vianey</dd>
125125
<dt><span class="seeLabel">See Also:</span></dt>

javadoc/com/vorlonsoft/android/rate/DialogManager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h2 title="Interface DialogManager" class="title">Interface DialogManager</h2>
114114
<dt><span class="simpleTagLabel">Since:</span></dt>
115115
<dd>1.0.2</dd>
116116
<dt><span class="simpleTagLabel">Version:</span></dt>
117-
<dd>1.2.0</dd>
117+
<dd>1.2.1</dd>
118118
<dt><span class="simpleTagLabel">Author:</span></dt>
119119
<dd>Alexander Savin, Antoine Vianey</dd>
120120
<dt><span class="seeLabel">See Also:</span></dt>

javadoc/com/vorlonsoft/android/rate/DialogOptions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h2 title="Class DialogOptions" class="title">Class DialogOptions</h2>
116116
<dt><span class="simpleTagLabel">Since:</span></dt>
117117
<dd>0.5.1</dd>
118118
<dt><span class="simpleTagLabel">Version:</span></dt>
119-
<dd>1.2.0</dd>
119+
<dd>1.2.1</dd>
120120
<dt><span class="simpleTagLabel">Author:</span></dt>
121121
<dd>Alexander Savin, Shintaro Katafuchi</dd>
122122
</dl>

javadoc/com/vorlonsoft/android/rate/OnClickButtonListener.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h2 title="Interface OnClickButtonListener" class="title">Interface OnClickButto
112112
<dt><span class="simpleTagLabel">Since:</span></dt>
113113
<dd>0.2.0</dd>
114114
<dt><span class="simpleTagLabel">Version:</span></dt>
115-
<dd>1.2.0</dd>
115+
<dd>1.2.1</dd>
116116
<dt><span class="simpleTagLabel">Author:</span></dt>
117117
<dd>Alexander Savin, Shintaro Katafuchi</dd>
118118
</dl>

0 commit comments

Comments
 (0)