Browse Source

Merge pull request #15077 from abpframework/auto-merge/rel-6-0/1577

Merge branch rel-7.0 with rel-6.0
pull/15099/head
Muhammed Altuğ 4 years ago
committed by GitHub
parent
commit
04c3847b6d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      docs/en/Getting-Started-React-Native.md

14
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<OpenIddictServerBuilder>(options => {
options.UseAspNetCore()
.DisableTransportSecurityRequirement();
});
#endif
```
## How to Configure & Run the React Native Application

Loading…
Cancel
Save