Coder Social home page Coder Social logo

flutter_webview's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flutter_webview's Issues

Adding SSL

I am adding SSL by this way but it's not working

` ByteData data = await rootBundle.load('assets/ssl/certificate.pem');
ByteData keyBytes = await rootBundle.load('assets/ssl/keys.pem');
SecurityContext security = SecurityContext();
security.usePrivateKeyBytes(keyBytes.buffer.asInt8List(), password: '123456');
security.setTrustedCertificatesBytes(data.buffer.asInt8List());
final server = Jaguar(port: 2723, securityContext: security);
server.addRoute(serveFlutterAssets());
await server.serve(logRequests: true);

// debug
server.log.onRecord.listen((r) => print(r));`
I am calling -- https:/localhost:2723/index.html
but it's not working.

Anything missing here ?

flutter pub get fails

Its seems there is circular reference . see below

github.com/jaguar-examples/flutter_webview && flutter pub get
Running "flutter packages get" in flutter_webview...
Because jaguar_flutter_asset >=1.1.5 depends on jaguar ^1.1.5 and flutter_webview depends on jaguar ^2.0.2, jaguar_flutter_asset >=1.1.5 is forbidden.
So, because flutter_webview depends on jaguar_flutter_asset ^1.1.5, version solving failed.
pub get failed (1)
make: *** [lib-pub-get] Error 1

flutter_webview build Error on Mac: FlutterWebviewPlugin.h not found

Created a new project in latest Android Studio 3.1.2 from the flutter_webview example, using File>New>Project from Version Control>GitHub. Running MacOS 10.13.4 (High Sierra), with Xcode 9.3.
Attempt to run on physical iPhone 5S. Build fails with error
/Users/alan/StudioProjects/flutter_webview/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'flutter_webview_plugin/FlutterWebviewPlugin.h' file not found.

The file .flutter-plugins contains one line, correctly pointing to where the flutter webview plugin is installed on my machine:
flutter_webview_plugin=/Users/alan/Documents/util/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.0.9+1/
This plugin works correctly in other projects. The build error is presumably caused by the IOS build settings but I can't find the problem. In any case, an example should probably work out of the box.

Thanks for taking a look.
Alan

Flutter doctor output
'[✓] Flutter (Channel beta, v0.3.1, on Mac OS X 10.13.4 17E202, locale en-US)
• Flutter version 0.3.1 at /Users/alan/documents/util/flutter
• Framework revision 12bbaba9ae (3 weeks ago), 2018-04-19 23:36:15 -0700
• Engine revision 09d05a3891
• Dart version 2.0.0-dev.48.0.flutter-fe606f890b

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/alan/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio 2.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.3, Build version 9E145
• ios-deploy 1.9.2
• CocoaPods version 1.4.0.rc.1

[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio 2.app/Contents
• Flutter plugin version 24.1.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] Connected devices (1 available)
• Alan’s iPhone 5S • fb2c341f9cecedf031922c7a9f3977426a476bf6 • ios • iOS 11.3.1

• No issues found!`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.