Skip to content

Commit

Permalink
docs: Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Mar 13, 2024
1 parent 9b544d3 commit 0010bbb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,19 @@ builder
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
```
It will display a window when starting an application or resume according to the official guides.
You cannot see the popup dialog while developing or if you distribute it manually.
As you can [see here](https://developer.android.com/guide/playcore/in-app-review/test),
you have to download the app from the Play Store to see the popup.
I recommend using Android Play Store's [“Internal App Sharing”](https://play.google.com/console/about/internalappsharing/) feature to test.
When flexible updates were available in version 1.0.5, the default behavior was:
- If priority 1-3 is specified, flexible update will be offered
- If priority 4-5 is specified, immediate update will be offered

Currently for version 1.1.0 only immediate update is offered, regardless of priority, but there are plans to return the old behavior when it becomes possible

# Notes
- Right now the package uses the `Xamarin.Google.Android.Play.Core` dependency for implementation. There is a plan to move to `Xamarin.Google.Android.Play.App.Update` in the future [when the problem with flexible updates is resolved](https://github.com/PatGet/XamarinPlayCoreUpdater/issues/17)
- Right now the package uses the `Xamarin.Google.Android.Play.App.Update` package, but it's not possible to do flexible updates with it.

# Links
- https://developer.android.com/guide/playcore/in-app-updates/kotlin-java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public class AndroidInAppUpdatesOptions

/// <summary>
/// Sets the priority of the update for immediate updates. <br/>
/// Default is 5. <br/>
/// Default is >= 4. <br/>
/// </summary>
public int ImmediateUpdatePriority { get; set; } = 5;
public int ImmediateUpdatePriority { get; set; } = 4;

/// <summary>
/// Set this to true to use the fake app update manager. <br/>
Expand Down

0 comments on commit 0010bbb

Please sign in to comment.