Skip to content

Commit

Permalink
Merge pull request #1601 from microsoft/fix/distribute-play-missing-api
Browse files Browse the repository at this point in the history
Add missing Distribute.addStores API
  • Loading branch information
DmitriyKirakosyan authored Feb 23, 2022
2 parents 052a46a + 5a17447 commit fca274d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

* **[Fix]** Fix checking a new release if the application was already updated before.

### App Center Distribute Play

* **[Fix]** Add missing `Distribute.addStores` API.

___

## Version 4.4.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.microsoft.appcenter.utils.async.DefaultAppCenterFuture;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import static com.microsoft.appcenter.distribute.DistributeConstants.LOG_TAG;
import static com.microsoft.appcenter.distribute.DistributeConstants.SERVICE_NAME;
Expand Down Expand Up @@ -146,6 +147,14 @@ public static void checkForUpdate() {
public static void disableAutomaticCheckForUpdate() {
}

/**
* Add stores allowed to perform in-app updates.
*
* @param stores list of stores allowed to perform in-app updates.
*/
public static void addStores(Set<String> stores) {
}

@Override
protected String getGroupName() {
return DISTRIBUTE_GROUP;
Expand Down

0 comments on commit fca274d

Please sign in to comment.