Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Fix issue 673 xamarin.google.android.play.core cannot implement i install state updated listener #709

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
"groupId": "com.google.android.play",
"artifactId": "core",
"version": "1.10.3",
"nugetVersion": "1.10.3.2",
"nugetVersion": "1.10.3.3",
"nugetId": "Xamarin.Google.Android.Play.Core",
"dependencyOnly": false
},
Expand Down
4 changes: 2 additions & 2 deletions source/com.google.android.play/core.extensions/app/.project
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
</natures>
<filteredResources>
<filter>
<id>1620209182907</id>
<id>1667565327392</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
</natures>
<filteredResources>
<filter>
<id>0</id>
<id>1667565327400</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
Expand Down
24 changes: 24 additions & 0 deletions source/com.google.android.play/core/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,28 @@
state
</attr>

<!--
https://github.com/PatGet/XamarinPlayCoreUpdater/pull/20/

Removing StateUpdatedListener implementation from InstallStateUpdatedListener interface
and making proper onStateUpdate method mapping where StateT is InstallState
-->
<remove-node
path="/api/package[@name='com.google.android.play.core.install']/interface[@name='InstallStateUpdatedListener']/implements[contains(@name,'StateUpdatedListener')]"
/>
<add-node
path="/api/package[@name='com.google.android.play.core.install']/interface[@name='InstallStateUpdatedListener']"
>
<method
visibility="public" static="false" abstract="true" return="void" name="onStateUpdate"
deprecated="not deprecated" final="false" bridge="false" native="false"
synchronized="false" synthetic="false"
>
<parameter
type="com.google.android.play.core.install.InstallState"
name="state"
/>
</method>
</add-node>

</metadata>