MobilePro #89: ChatGPT prompt engineering, VS Code Extensions, Secret TypeScript Tricks.
Hi,
Welcome to the mobile app development world with _mobilepro 89! This edition has curated mobile development community discussions on ChatGPT prompt engineering, VS Code Extensions, and Secret TypeScript Tricks.
This week's resources focus on Flutter plugins in VSCode, Android Studio and Desktop. Want to develop in React Native using ChatGPT? This edition to our ChatGPT with React Native tutorial helps you get started for the ChatGPT project.
We have listened to the _mobilepro readership and we think this is something you have been searching for. If you liked this installment in our new series, fill in our survey below. We're committed to bringing our readers exactly what they want, so help us make the right choices.
Thanks,
Apurva Kadam
Editor-in-Chief, Packt
Mobile Developer Community Insights
Why are there no antitrust claims vs GitHub Copilot, when there is a precedent? - Microsoft GitHub released CoPilot last year, a tool for generating code and auto-completion, that’s been trained on vast amount of open source code, notably all open source code hosted on GitHub itself. Today we’re going to talk about the potential for an antitrust case against Microsoft GitHub and Microsoft GitHub Copilot, there is a precedent vs another tech giant that is surprisingly similar. Read about the precedent and what it means for the future of AI.
You’re Using ChatGPT Wrong! Here’s How to Be Ahead of 99% of ChatGPT Users - Most of us use ChatGPT wrong. This happens because we mostly use standard prompts that might help us get the job done once, but not all the time. We need to learn how to create high-quality prompts to get better results. We need to learn prompt engineering! And, in this guide, we’ll learn 4 techniques used in prompt engineering. Learn prompt engineering must-knows here.
19 VS Code Extensions to Boost Your Productivity - In this article, you will find some of the most useful extensions that you can use to boost your productivity. It provides direct links, descriptions, and images so you can get an initial impression on the fly. Checkout the VS code extensions here.
Flutter Pro Tip: Turning JSON Into a Dart Object – This blogpost talks about the utility of Dart called Dart convert. It illustrates this utility with an example of how to use the dart:convert library to encode a Dart object into a JSON-encoded string. Explore the full tutorial here.
7 Secret TypeScript Tricks Pros Use - TypeScript is an outstanding cross-platform tool to make our lives easier & avoiding bugs, yet sometimes feels overwhelming to use. This article outlines 7 TypeScript tricks that will make your life easier which all pros use. Read the 7 TypeScript secrets here.
Mobile Development Motivation
"Design is not just what it looks like and feels like. Design is how it works."
- Steve Jobs, Founder, Apple Inc.
Food for Thought...
This quote emphasizes the importance of not only creating visually appealing apps but also ensuring that they are functional and intuitive for users. It highlights the need for developers to prioritize user experience and usability when designing and building mobile apps.
Mobile Tools
Flutter utilities help developers build mobile apps faster, with better performance and cross-platform compatibility. With these utilities you can make your development more efficient, reduce code complexity, and improve the quality of apps. Here are some utilities for you:
VSCode
Awesome Snippets - Collection of commonly used classes and methods by Nash.
Flutter Files - Quick generation for BLoC templates files by context menu by Gorniv.
Flutter Intl - i18n binding from arb files by Localizely.
IntelliJ / Android Studio
Enhancement_Suite - Search for pub.dev libraries, update version, Bloc, Snippet, etc you're covered by Marius Höfler.
Flutter Intl - 18n binding from arb files by Localizely.
Desktop
Desktop Embedding - Desktop implementations of the Flutter embedding API by Google.
Golang Desktop Embedder - Golang embedder for desktop by Pierre Champion.
Native Shell - Experimental embedder for Flutter by Matej Knopp.
Rust Desktop Embedder - Rust embedder for desktop by juju.
bitsdojo_window - Customize windows owner-drawn chrome by BitsDojo.
Raspberry Pi Embedder - Light-weight Embedder for Raspberry Pi by Hannes Winkler.
Fluent UI - Microsoft's Fluent Design System in Flutter by Bruno D'Luka.
MacOS UI - Widgets and themes implementing the current macOS design language by Groovin Chip.
Ubuntu Yaru - Distinct look and feel of the Ubuntu Desktop by Ubuntu.
Awesome Flutter Desktop - A curated list of awesome things related to Flutter desktop by LeanFlutter.
ChatGPT with React Native tutorial
This course is designed with the latest mobile technology and in-demand job tools including React Native, JavaScript, Expo-GO, and the best conventions in 2023; it also teaches the very latest mobile development techniques and version of React with hooks. This course demonstrates how to leverage the power of ChatGPT as a tool in addition to stack overflow and documentations to build scripts and simplifies tackling difficult code tasks and takes your coding skills to the next level.
Not a Packt member? Watch this video by redeeming your 7-day free trial!
Completing the Database with the ChatGPT Initial Model in React Native
In this video, you will learn how to complete the database for your ChatGPT project using the initial model in React Native. The tutorial will cover how to add tables, columns, and relationships to your database schema, as well as how to populate the database with initial data. By the end of the video, you will have a better understanding of how to design and build a database for your React Native app with ChatGPT.
What's Happening in Mobile App Dev?
Android
Android 14 Beta 2 - Beta 2 includes enhancements around camera and media, privacy and security, system UI, and developer productivity. We're continuing to improve the large-screen device experience, and the Android 14 beta program is now available for the first time on select partner phones, tablets, and foldables.
Kotlin Multiplatform - Google continues to experiment with using Kotlin Multiplatform to share business logic between Android and iOS. The Collections 1.3.0-alpha03 and DataStore 1.1.0-alpha02 have been updated so you can now use these libraries in KMM projects.
Jetpack Compose - Jetpack Compose, Android’s modern toolkit for building native UI, recently had its May 2023 release which includes new features for text and layouts, continued performance improvements, enhanced tooling support, increased support for large screens, and updated guidance. You can read more in the What’s New in Jetpack Compose I/O blog to learn more.
Apple
Get ready with the latest beta releases - The beta versions of iOS 16.6, iPadOS 16.6, macOS 13.5, tvOS 16.6, and watchOS 9.6 are now available. Get your apps ready by confirming they work as expected on these releases. And to take advantage of the advancements in the latest SDKs, make sure to build and test with Xcode 14.3.1.
Microsoft
Announcing .NET 8 Preview 4 - All the new features and improvements in .NET 8 Preview 4! This release is a follow-up to the Preview 3 release. You’ll continue to see many more features show up with these monthly releases. .NET 6 and 7 users will want to follow this release closely since we have focused on making it a straightforward upgrade path.
See you next week!