AlexandrNikulin / AnimationNavigationPage

AnimationNavigationPage is a NavigationPage with custom transitions animation effects.
Apache License 2.0
236 stars 37 forks source link

Doesn't work on iOS #74

Open borjanStojchev opened 1 year ago

borjanStojchev commented 1 year ago

When I build and deploy the app using this NuGet package the app is closing on start up. I am using windows machine deploying on iPhone device using HotReload with enterprise Apple account. The issue is happening when I try to create a page which inherit from AnimationPage. Here is the output: [0:] An error occurred: 'You must call Xamarin.Forms.Forms.Init(); prior to using this property.'. Callstack: ' at Xamarin.Forms.Device.get_PlatformServices () [0x00007] in D:\a\1\s\Xamarin.Forms.Core\Device.cs:87 at Xamarin.Forms.Device.GetAssemblies () [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Device.cs:245 at Xamarin.Forms.DependencyService.Initialize () [0x00021] in D:\a\1\s\Xamarin.Forms.Core\DependencyService.cs:103 at Xamarin.Forms.DependencyService.Get[T] (Xamarin.Forms.DependencyFetchTarget fetchTarget) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\DependencyService.cs:28 at FormsControls.Base.PageAnimation..cctor () <0x108569710 + 0x00002> in <92201183f4614869aa39cb7f93b6eb2d>:0 ' The app has been terminated.

It works on Android emulator and on iOS on production. The issue is happening only in debug mode.