Open sattasundar opened 2 years ago
Anyone working on this?
@IeuanWalker I am working on it, ios part migrated easily, but android core changed on Maui, need time to fix it
Guys, unfortunately, currently it is impossible to do it on android, in right way Microsoft developers implemented almost all android stuff internal or private, btw you could check my fork, MB it will be possible in net 9, cause I checked MAUI src, they changed nothing between NET 7 and 8 But I did something, use reflection, use maui src code, and transition is working partially, forward only Ios is working because they still use old renderer impl in it
Ohhh I think I know how I can fix backward transition :) Btw we still need possibility from Microsoft devs to use it without reflection
@eXeShnik do you have a MAUI branch published you're working on yet?
I can poke Android a little bit to see what I can do.
@PureWeen Hi, I did it here https://github.com/eXeShnik/Xamarin.Plugin.SharedTransitions/tree/feature/maui Can I publish something without PR into this repo? P.s. My first time to contribute something
Aw, ok, you're not the original author.
I'll take a look at your branch but @GiampaoloGabba would need to merge the changes once approved.
@PureWeen Hi, I did it here https://github.com/eXeShnik/Xamarin.Plugin.SharedTransitions/tree/feature/maui Can I publish something without PR into this repo? P.s. My first time to contribute something
As I can see, you've added support only for Android. Am I right?
@PureWeen Hi, I did it here https://github.com/eXeShnik/Xamarin.Plugin.SharedTransitions/tree/feature/maui Can I publish something without PR into this repo? P.s. My first time to contribute something
As I can see, you've added support only for Android. Am I right?
Nope, I migrated ios version too
@PureWeen Hi, I did it here https://github.com/eXeShnik/Xamarin.Plugin.SharedTransitions/tree/feature/maui Can I publish something without PR into this repo? P.s. My first time to contribute something
As I can see, you've added support only for Android. Am I right?
Nope, I migrated ios version too
Great news. The only concern I have is that there is no SharedTransitionNavigationRendererNew class for iOS
@PureWeen Hi, I did it here https://github.com/eXeShnik/Xamarin.Plugin.SharedTransitions/tree/feature/maui Can I publish something without PR into this repo? P.s. My first time to contribute something
As I can see, you've added support only for Android. Am I right?
Nope, I migrated ios version too
Great news. The only concern I have is that there is no SharedTransitionNavigationRendererNew class for iOS
Ohhh I am so sorry, I just worked on android implementation and forget to change it back
@PureWeen Hi, I did it here https://github.com/eXeShnik/Xamarin.Plugin.SharedTransitions/tree/feature/maui Can I publish something without PR into this repo? P.s. My first time to contribute something
As I can see, you've added support only for Android. Am I right?
Nope, I migrated ios version too
Great news. The only concern I have is that there is no SharedTransitionNavigationRendererNew class for iOS
Ohhh I am so sorry, I just worked on android implementation and forget to change it back
ok, I'll wait for the update from you. I'm looking forward to trying your version.
@AlexeyStarkov I puhsed
@eXeShnik Thank you. I'm trying your branch on iOS right now and it throws an exception at line 101 of the Platform/iOS/ViewExtensions.cs when the fromView argument is MauiLabel. The following code causes a crash: return (UIView)NSKeyedUnarchiver.UnarchiveObject(NSKeyedArchiver.GetArchivedData(fromView));
Exception description: ObjCRuntime.RuntimeException: Failed to marshal the Objective-C object 0x11d01d300 (type: Microsoft_Maui_Platform_MauiLabel). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance (because the type 'Microsoft.Maui.Platform.MauiLabel' does not have a constructor that takes one NativeHandle argument).
I'm not surprised because I'm stuck with a crash in the same place while trying to migrate the plugin on my own. After I had replaced the obsolete UnarchiveObject and GetArchivedData methods with the modern ones I got the "This decoder will only decode classes that adopt NSSecureCoding" exception which means that MauiLabel/UILabel doesn't implement the INSSecureCoding interface. And I have no idea so far how it worked recently with Xamarin.
AlexeyStarkov
Thx for feedback I tried only ImageView, did not check other controls
I am also looking this plugin for support .NET MAUI. Please share the info when migration completed.
Thanks in Advance
@eXeShnik apologies for the slow response
Did you look at publishing a Maui version out as your own nuget?
If you want to chat more actively pop over to the .NET MAUI discord
Hi, is there any update on this? Your fork now works on Android/iOS @eXeShnik?
I am looking this plugin for support .NET MAUI.