So, what’s new? What changed?
Well.. a lot!
InAppWebView 5 comes with Dart null-safety support! What does this mean? We know that the null-safety feature has been released recently in the stable version of Dart (it requires Dart SDK
>=2.12.0-0 <3.0.0), …
flutter_inappwebview plugin (at the time of this writing, the latest release is
There are 3 main ways to enable this 2-way communication:
Check out the previous article that introduces the flutter_inappwebview plugin here: InAppWebView: The Real Power of WebViews in Flutter.
This is what we are going to implement:
flutter_inappwebview ? It’s a Flutter plugin that allows you to incorporate WebView widgets into your Flutter app, to use headless WebViews, or to use In-App browsers.
So, what’s the difference between
webview_flutter (Official flutter plugin) and
Compared to all other WebView plugins, it is feature-rich: a lot of events, methods, and options to control WebViews. Furthermore, they do not have good documentation about their API or, at least, it is not complete. Instead, every feature of
flutter_inappwebview is almost all documented (just check the API Reference on pub.dev).
In this article, I will give a simple example using the
jackson-js library with Angular 9 for the client side and two examples for the server side: one using Node.js + Express + SQLite3 (with Sequelize 5) and another one using Node.js + LoopBack 4.
Full code examples can be found in this repository.
For the client side, we will create a very basic Angular 9 application consisting of 2 models…
After many hours of development, I finally released the first version of the
jackson-js library. As the name implies,
jackson-js decorators are heavily inspired by the Java annotations of the famous Java FasterXML/jackson library.
You can install it using
npm install —-save jackson-js and it can be used on both client (browser) and server (Node.js) side.
For simple cases, you don’t need this library, of course, you can just use
JSON.stringify to serialize/deserialize JSON.
@JsonIgnore() , etc. However, this…