kraken_webview 0.2.1 copy "kraken_webview: ^0.2.1" to clipboard
kraken_webview: ^0.2.1 copied to clipboard

outdated

kraken `<iframe />` tags support.

kraken_webview #

kraken <iframe /> tags support.

Installation #

First, add kraken_frame as a dependency in your pubspec.yaml file.

Second, add the following code before calling runApp():

void main() {
  KrakenWebView.initialize();
  runApp(MyApp());
}

Example #

const iframe = document.createElement('iframe');
iframe.setAttribute(
    'src',
    'https://dev.g.alicdn.com/kraken/kraken-demos/todomvc/build/web/index.html'
);
iframe.style.width = '360px';
iframe.style.height = '375px';
document.body.appendChild(iframe);

Development #

Building Bridge for macos

cd bridge/scripts
./build_macos.sh

Building Bridge for ios

cd bridge/scripts
./build_ios.sh

Building Bridge for Android

requirement: Android SDK installed at ~/Library/Android/sdk

NDK version requirement: 20.0.5594570

cd bridge/scripts
./build_android.sh
1
likes
0
pub points
0%
popularity

Publisher

verified publisheropenkraken.com

kraken `<iframe />` tags support.

Homepage

License

unknown (license)

Dependencies

flutter, kraken

More

Packages that depend on kraken_webview