scgateway_flutter_plugin


We have moved our documentation landing page to a more convenient address https://developers.gateway.smallcase.com/docs/flutter-integration.

Thanks.

iOS dependencies

Package.swift points to the remote SDK binary. scripts/fetch-ios-sdks.sh downloads it, checks the checksum, and repoints Package.swift at the vendored Frameworks/ copy. The podspec runs the script on pod install, and publish.yml runs it before pub publish. The pub.dev package ships the vendored SDK, so builds need no access to GitHub. Swift Package Manager does not run the script. From a git checkout it downloads the remote binary itself. To use a vendored copy instead, run scripts/fetch-ios-sdks.sh scgateway.

Installing a prerelease/ or preview/ branch of this repo as a git dependency pins an internal SDK build. Downloading it needs a ~/.netrc entry with a GitHub token that can read smallcase's internal iOS SDK repos:

machine api.github.com login x password <token>

Standalone WebView

Launch an absolute HTTP(S) URL without Gateway setup or initialization:

await ScgatewayFlutterPlugin.launchScWebView('https://www.smallcase.com');