Files
apidash/doc/dev_guide/platform_specific_instructions.md
2024-12-24 03:06:44 +05:30

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