暫無描述

AppReactPage.cs 743B

123456789101112131415161718192021222324252627282930313233
  1. using ReactNative;
  2. using ReactNative.Bridge;
  3. using ReactNative.Modules.Core;
  4. using ReactNative.Shell;
  5. using ReactNative.UIManager;
  6. using System;
  7. using System.Collections.Generic;
  8. using ReactNativeVideo;
  9. using RNViewShot;
  10. namespace ViewShotExample.Net46
  11. {
  12. internal class AppReactPage : ReactPage
  13. {
  14. public override string MainComponentName => "ViewShotExample";
  15. public override List<IReactPackage> Packages => new List<IReactPackage>
  16. {
  17. new MainReactPackage(),
  18. new RNViewShotPackage(),
  19. new ReactVideoPackage(),
  20. };
  21. public override bool UseDeveloperSupport
  22. {
  23. get
  24. {
  25. return true;
  26. }
  27. }
  28. }
  29. }