bos_gateway_viewer 0.0.5
bos_gateway_viewer: ^0.0.5 copied to clipboard
viewer for bos-gateway-core
Viewer for bos-gateway-core
Requirements #
- Dart sdk: ">=2.17.0 <4.0.0"
- Flutter: ">=3.0.0"
- Android:
minSdkVersion >= 19,compileSdk >= 34, AGP version>= 7.3.0(use Android Studio - Android Gradle plugin Upgrade Assistant for help), support forandroidx(see AndroidX Migration to migrate an existing app) - iOS 9.0+:
--ios-language swift, Xcode version>= 14.3
Installation #
Add bos_gateway_viewer as a dependency in your pubspec.yaml file.
Installation - Web support #
To make it work properly on the Web platform, you need to add the web_support.js file inside the <head> of your web/index.html file:
<head>
<!-- ... -->
<script type="application/javascript" src="/assets/packages/flutter_inappwebview_web/assets/web/web_support.js" defer></script>
<!-- ... -->
</head>
Installation - Android support #
To make it work properly on the Android platform, you need to add android:usesCleartextTraffic="true" to manifest
Installation - iOS support #
To make it work properly on the iOS platform, you need to add the NSAllowsLocalNetworking key with true in the Info.plist :
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict>