diff --git a/docs/en/Getting-Started-React-Native.md b/docs/en/Getting-Started-React-Native.md index fe4cf478de..be0505b9f1 100644 --- a/docs/en/Getting-Started-React-Native.md +++ b/docs/en/Getting-Started-React-Native.md @@ -95,6 +95,20 @@ A React Native application running on an Android emulator or a physical phone ** Run the backend application as described in the [getting started document](Getting-Started.md). +> You should turn off the "Https Restriction" if you're using OpenIddict as a central identity management solution. Because the IOS Simulator doesn't support self-signed certificates and OpenIddict is set to only work with HTTPS by default. +## How to disable the Https-only settings of OpenIddict + + Go to MyProjectNameHttpApiHostModule.cs under the host project. Add put these codes under the `PreConfigureServices` function. + +```csharp +#if DEBUG + PreConfigure(options => { + options.UseAspNetCore() + .DisableTransportSecurityRequirement(); + }); +#endif +``` + ## How to Configure & Run the React Native Application diff --git a/npm/ng-packs/package.json b/npm/ng-packs/package.json index 7b9dc05646..553c2b13d4 100644 --- a/npm/ng-packs/package.json +++ b/npm/ng-packs/package.json @@ -104,7 +104,7 @@ "jest-environment-jsdom": "28.1.1", "jest-preset-angular": "12.2.2", "jsonc-parser": "^2.3.0", - "just-clone": "^3.2.1", + "just-clone": "^6.1.1", "just-compare": "^1.4.0", "lerna": "^4.0.0", "lint-staged": "^13.0.3", diff --git a/npm/ng-packs/packages/components/tree/src/lib/components/tree.component.ts b/npm/ng-packs/packages/components/tree/src/lib/components/tree.component.ts index e7566c587d..63288a37d6 100644 --- a/npm/ng-packs/packages/components/tree/src/lib/components/tree.component.ts +++ b/npm/ng-packs/packages/components/tree/src/lib/components/tree.component.ts @@ -68,13 +68,13 @@ export class TreeComponent implements OnInit { } private loadStyle() { - if (disableTreeStyleLoading) { + if (this.disableTreeStyleLoading) { return; } const loaded$ = this.lazyLoadService.load( LOADING_STRATEGY.AppendAnonymousStyleToHead('ng-zorro-antd-tree.css'), ); - subscriptionService.addOne(loaded$); + this.subscriptionService.addOne(loaded$); } onSelectedNodeChange(node) { diff --git a/npm/ng-packs/packages/core/package.json b/npm/ng-packs/packages/core/package.json index d68ee028ac..f8e4c66763 100644 --- a/npm/ng-packs/packages/core/package.json +++ b/npm/ng-packs/packages/core/package.json @@ -9,7 +9,7 @@ "dependencies": { "@abp/utils": "~7.0.0-rc.4", "angular-oauth2-oidc": "^15.0.1", - "just-clone": "^3.2.1", + "just-clone": "^6.1.1", "just-compare": "^1.4.0", "ts-toolbelt": "6.15.4", "tslib": "^2.0.0" diff --git a/npm/ng-packs/packages/core/src/lib/tests/for.directive.spec.ts b/npm/ng-packs/packages/core/src/lib/tests/for.directive.spec.ts index d83be2ff0e..1165bd6bf8 100644 --- a/npm/ng-packs/packages/core/src/lib/tests/for.directive.spec.ts +++ b/npm/ng-packs/packages/core/src/lib/tests/for.directive.spec.ts @@ -1,6 +1,5 @@ import { SpectatorDirective, createDirectiveFactory } from '@ngneat/spectator/jest'; import { ForDirective } from '../directives/for.directive'; -import { uuid } from '../utils'; describe('ForDirective', () => { let spectator: SpectatorDirective;