選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

24 行
693 B

  1. using Android.App;
  2. using Android.Runtime;
  3. namespace HybridApp
  4. {
  5. [Application(UsesCleartextTraffic = true)]
  6. public class MainApplication : MauiApplication
  7. {
  8. public MainApplication(IntPtr handle, JniHandleOwnership ownership)
  9. : base(handle, ownership)
  10. {
  11. }
  12. protected override MauiApp CreateMauiApp()
  13. {
  14. //Microsoft.Maui.Handlers.WebViewHandler.Mapper.ModifyMapping(
  15. // nameof(Android.Webkit.WebView.WebChromeClient),
  16. // (handler, view, args) => handler.PlatformView.SetWebChromeClient(new MyWebChromeClient(handler)));
  17. return MauiProgram.CreateMauiApp();
  18. }
  19. }
  20. }