title: Problem launching Whatsapp from Flutter App
body: <p>I am creating an app and I need to launch Whatsapp. I tryed what is described here: <a href="https://pub.dartlang.org/packages/flutter_launch#-readme-tab-" rel="nofollow noreferrer">pub.dartlang.org/packages/flutter_launch</a> and I pasted the same code on my project. Here is the problem:</p>
  
  <pre><code>What went wrong:
  The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'flutter_launch' is using version 1.1.51.
  Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  Get more help at https://help.gradle.org
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>import 'package:flutter/material.dart';
  import 'package:flutter_launch/flutter_launch.dart';
  
  void main() =&gt; runApp(new MyApp());
  
  class MyApp extends StatefulWidget {
    @override
    _MyAppState createState() =&gt; new _MyAppState();
  }
  
  class _MyAppState extends State&lt;MyApp&gt; {
  
    @override
    initState() {
      super.initState();
    }
  
    void whatsAppOpen() async {
      await FlutterLaunch.launchWathsApp(phone: "3381559137", message: "Hello");
    }
  
    @override
    Widget build(BuildContext context) {
      return new MaterialApp(
        home: new Scaffold(
          appBar: new AppBar(
            title: new Text('Plugin example app'),
          ),
          body: new Center(
            child: FlatButton(
              child: Text("Open WhatsApp"),
              onPressed: () {
                whatsAppOpen();
              },
            )
          ),
        ),
      );
    }
  }
  </code></pre>