mirror of
https://github.com/foss42/apidash.git
synced 2025-06-04 09:16:02 +08:00
1.3 KiB
1.3 KiB
Platform-specific Additional Instructions
macOS
Add below keys to macos/Runner/DebugProfile.entitlements
and macos/Runner/Release.entitlements
.
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.files.downloads.read-write</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
If not added, you can encounter a network connection error similar to the following while running your Flutter app on macOS:
ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1)
You can read more here
In case you are having a local build failure on macOS due to "audio_session" do check out issue https://github.com/foss42/apidash/issues/510 for solution.
Android (Work in Progress)
Add the multiDexEnabled true
line to the defaultConfig
section at android/app/build.gradle file
android {
...
defaultConfig {
...
multiDexEnabled true
}
}
Web
Running it on web requires the following modification in the local cached code of printing
package.
Read more about it here - https://github.com/DavBfr/dart_pdf/issues/1791