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

Core library: IInstallStateUpdatedListener missing new Android 14 requirements? #813

Open
@DM-98

Description

@DM-98

Xamarin.Android Version (eg: 6.0):

14.0

Operating System & Version (eg: Mac OSX 10.11):

Pixel 5 - API 34 (Android 14.0)

Describe your Issue

I have a simple flexible In-App update for my Android app, and then...
After upgrading my simulator, and using the new Pixel 5 - Android 14 (API 34) simulator, I now get exception:

Java.Lang.SecurityException: 'com.companyname.landbrugnet.estate.maui: 
One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts'

Relevant information

Packages used (newest version of Google Play Core):

<PackageReference Include="Xamarin.Google.Android.Play.Core">
	<Version>1.10.3.7</Version>
</PackageReference>

Info: I have tried using the specific App Update nuget package, and I get same exception as this issue:
PatGet/XamarinPlayCoreUpdater#17
Which is:

error: AppUpdateInstallListener is not abstract and does not override abstract method onStateUpdate(InstallState) in StateUpdatedListener

error: name clash: onStateUpdate(Object) in AppUpdateInstallListener and onStateUpdate(StateT) in StateUpdatedListener have the same erasure, yet neither overrides the other public void onStateUpdate (java.lang.Object p0) where StateT is a type-variable: StateT extends Object declared in interface StateUpdatedListener

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions