Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
warren-bank committed Oct 19, 2019
1 parent ae709e9 commit e2f4dd9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ Android app that listens for incoming SMS text messages and conditionally sends
* is match?:
* `v1.0.0`: _no_
* `v1.1.0`: _yes_
* `v1.2.0`
* Preference `Sender must end with`
* adds support for a match-all glob pattern
* when the value for this field in a rule is exactly: `*`
* then the rule will match the SMS sender for all incoming SMS text messages

#### Legal:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static boolean matches(ArrayList<ListItem> arrayList, String sender, Stri
item = arrayList.get(i);

// required
if (!sender.endsWith(item.sender))
if (!sender.endsWith(item.sender) && !item.sender.equals("*"))
continue;

prefix_length = item.message_prefix.length();
Expand Down
4 changes: 2 additions & 2 deletions android-studio-project/constants.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project.ext {
releaseVersionCode = Integer.parseInt("001010011", 10)
releaseVersion = '001.01.00-11API'
releaseVersionCode = Integer.parseInt("001020011", 10)
releaseVersion = '001.02.00-11API'
minSdkVersion = 11
targetSdkVersion = 28
compileSdkVersion = 28
Expand Down

0 comments on commit e2f4dd9

Please sign in to comment.