มาดูแนวทางการใช้งาน Flutter + Kotlin-multiplatform กันหน่อย
จาก session เรื่อง Flutter + Kotlin-multiplatform ในงาน Mobile Conference Thailand 2019 เป็นเรื่องที่น่าสนใจ เนื่องจากมีทั้งข้อดีและข้อเสีย ดังนั้นมาทำความเข้าใจกับ ปัญหาที่อาจจะต้องใช้แนวทางนี้ การทำงานของ Flutter ซึ่งพัฒนาด้วยภาษา Dart จะพบว่า Flutter จะติดต่อไปการทำงานต่าง ๆ บน device หรือ Native นั้น ผ่านช่องทางที่เรียกว่า Platform Channel Android ผ่าน MethodChannel iOS ผ่าน FlutterMethodChannel แสดงดังรูป โดยปกติแล้วนั้น Flutter ก็ทำงานได้อย่างดี แต่ก็มีงานบางอย่างที่ Flutter ไม่สามารถใช้งานได้ (ไม่สนับสนุน) ตัวอย่างที่เจอมาก ๆ คือ 3-party SDK ยิ่งเป็นมือถือที่มาจากประเทศจีนยิ่งมีปัญหามาก ๆ ส่งผลให้นักพัฒนาต้องเขียน Native code เฉพาะ … Continue reading มาดูแนวทางการใช้งาน Flutter + Kotlin-multiplatform กันหน่อย
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed