Eilon / MauiHybridWebView

MIT License
202 stars 40 forks source link

Latest XCode/iOS no longer calling CreatePlatformView? #30

Closed LennardF1989 closed 8 months ago

LennardF1989 commented 8 months ago

Not sure why this is happening, but it looks like the latest Xcode with iOS 17 is no longer calling: CreatePlatformView of the handler. Moving the config.UserContentController.AddScriptMessageHandler back to InitializeHybridWebView works fine.

I suspect this is a bug in MAUI and an incompatibility with iOS 17, but just curious if you are experiencing the same.

LennardF1989 commented 8 months ago

Turned out there was a handler overriding the Hybrid handler. All fine!

One important thing I've noticed: CSP headers on websites can affect functionality on iOS - most likely related to eval.