FirebasePushNotificationPlugin icon indicating copy to clipboard operation
FirebasePushNotificationPlugin copied to clipboard

Will they support MAUI?

Open Beeron2010 opened this issue 4 years ago • 12 comments

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 ;)

Beeron2010 avatar Jan 23 '22 15:01 Beeron2010

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

JeffIPV avatar Jan 25 '22 18:01 JeffIPV

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

https://github.com/xamarin/GoogleApisForiOSComponents

tvkit avatar Feb 09 '22 21:02 tvkit

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

Beeron2010 avatar Feb 22 '22 14:02 Beeron2010

@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>
```	

tvkit avatar Feb 24 '22 23:02 tvkit

Some news about MAUI version ?

Hantse avatar May 26 '22 14:05 Hantse

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

JeffIPV avatar May 26 '22 15:05 JeffIPV

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?

yepeekai avatar Jun 23 '22 17:06 yepeekai

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

kylewhittington avatar Aug 10 '22 21:08 kylewhittington

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

GAURI02X avatar Sep 02 '22 13:09 GAURI02X

This does not work with MAUI IOS

sstahurski avatar Sep 22 '22 03:09 sstahurski

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

Lavankumarkalimisetty avatar Feb 20 '23 07:02 Lavankumarkalimisetty