CrossGeeks / FirebasePushNotificationPlugin

Firebase Push Notification Plugin for Xamarin iOS and Android
MIT License
396 stars 177 forks source link

Will they support MAUI? #408

Open Beeron2010 opened 2 years ago

Beeron2010 commented 2 years ago

Hi there,

I know that you don't officially support MAUI at the moment. However, MAUI should appear in Q2 in 2022.

Will they offer support? Unfortunately, errors are currently occurring and we are starting to use MAUI on our projects so that we only have to update it later.

Currently joining VS2022, NET 6 (MAUI Preview 12) the following error:

---1--- Severity Code Description Project File Line Suppression state Error XA4215 mono.android.support.v4.media.session.MediaSessionCompat_OnActiveChangeListenerImplementor generated by: Android.Support.V4.Media.Session.MediaSessionCompat+IOnActiveChangeListenerImplementor, Xamarin.Android.Support.Media.Compat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Bevie-Times C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.200-preview.12.2\tools\Xamarin.Android.Common.targets 1429

--- 2 --- Severity Code Description Project File Line Suppression state Error XA4215 mono.android.support.v4.media.session.MediaSessionCompat_OnActiveChangeListenerImplementor generated by: Android.Support.V4.Media.Session.MediaSessionCompat+IOnActiveChangeListenerImplementor, Xamarin.AndroidX.Media, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Bevie-Times C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.200-preview.12.2\tools\Xamarin.Android.Common.targets 1429

--- 3 ---

Severity Code Description Project File Line Suppression state Error XA4215 The Java type mono.android.support.v4.media.session.MediaSessionCompat_OnActiveChangeListenerImplementor is generated by more than one managed type. Please change the [Register] attribute so that the same Java type is not emitted. Bevie-Times C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.200-preview.12.2\tools\Xamarin.Android.Common.targets 1429

Many Thanks ;)

JeffIPV commented 2 years ago

pre-release is also coming this quarter https://github.com/dotnet/maui/wiki/roadmap. For the most part the latest release preview 12 is in its final form. Support for MAUI will be great appreciated

tvkit commented 2 years ago

This project relies on Xamarin.Firebase.iOS.* which doesn't yet support net6.0.

https://github.com/xamarin/GoogleApisForiOSComponents

Beeron2010 commented 2 years ago

@tvkit Yeah but i need only Android for the Moment. And the Notification Hub from Azure is for Simple Messages to Expensive

tvkit commented 2 years ago

@tvkit Yeah but i need only Android for the Moment. And the Notification Hub from Azure is for Simple Messages to Expensive

@Beeron2010 the related Xamarin libs work for Android. You can include the required packages in a conditional android group.

    <ItemGroup Condition="$(TargetFramework.Contains('-android'))">
        <PackageReference Include="..." />
    </ItemGroup>
Hantse commented 2 years ago

Some news about MAUI version ?

JeffIPV commented 2 years ago

Some news about MAUI version ?

This project relies on Xamarin.Firebase.iOS.* which doesn't yet support net6.0. They have been marked ready for a while but not released. It seems it is not of importance to them at the moment.

https://github.com/xamarin/GoogleApisForiOSComponents/issues/518 https://github.com/xamarin/GoogleApisForiOSComponents/issues/519

I would recommend setting up for APNS directly. You can keep firebase for android. I can confirm maui works with APNS and I get notifications

yepeekai commented 2 years ago

Seen in the notes : Includes support for .net6.0-ios https://github.com/xamarin/GoogleApisForiOSComponents/releases/tag/Firebase-8.10.0.1

So... will this project support this?

kylewhittington commented 2 years ago

Any update on this? Currently trying to get Firebase push to work on MAUI without much luck. Just attempting Android at the moment.

GAURI02X commented 2 years ago

any update on MAUI compatibility with MAUI. Cannot use APNS directly.

sstahurski commented 2 years ago

This does not work with MAUI IOS

Lavankumarkalimisetty commented 1 year ago

Any Update on MAUI? which supports for .net 7.0?

thomasgalliker commented 2 months ago

Maybe you‘ve seen it already, if not, try this: Plugin.FirebasePushNotifications