예제 #1
0
        private IReactInstanceManager CreateReactInstanceManager()
        {
            var builder = new ReactInstanceManager.Builder
            {
                UseDeveloperSupport      = UseDeveloperSupport,
                InitialLifecycleState    = LifecycleState.Resumed,
                JavaScriptBundleFile     = JavaScriptBundleFile,
                JavaScriptMainModuleName = JavaScriptMainModuleName,
            };

            builder.Packages.AddRange(Packages);
            return(builder.Build());
        }
        private IReactInstanceManager CreateReactInstanceManager()
        {
            //Log.Info(ReactConstants.Tag, "## CreateReactInstanceManager");

            var builder = new ReactInstanceManager.Builder
            {
                UseDeveloperSupport      = UseDeveloperSupport,
                InitialLifecycleState    = LifecycleState.Resumed,
                JavaScriptBundleFile     = JavaScriptBundleFile,
                JavaScriptMainModuleName = JavaScriptMainModuleName,
            };

            //Log.Info(ReactConstants.Tag, "After new ReactInstanceManager.Builder");

            builder.Packages.AddRange(Packages);

            //Log.Info(ReactConstants.Tag, "After builder.Packages.AddRange(Packages)");

            return(builder.Build());
        }