MobilePro #82: OpenAI assistance, GitHub Co-pilot terminal scripting, ChatGPT + React Native tutorial.
Hi!
Welcome to the mobile app development world with _mobilepro 82! As tech leaders call for a six-month pause on giant AI experiments - the mobile development community is still looking for a perspective on AI. Discussions on OpenAI assistance for Android developers, AI-powered testing, GitHub Co-pilot simplifying terminal scripting, and integrating computer vision with Flutter are still abound.
Burning questions around the rise of superapps and the impact of emerging technologies on mobile app development are answered in this edition. Push your dev skills with resources to integrate ML in your mobile apps. Want to develop in React Native using ChatGPT? Our ChatGPT with React Native tutorial is the ultimate video guide you can use!
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
Seamless authentication with passkeys using Credential Manager API - Traditional authentication solutions pose several security and usability challenges. The Credential Manager API helps you and your users overcome these challenges. Android has created the Credential Manager API to simplify the sign-in experience and address security risks by supporting passkeys, the next generation industry standard for passwordless authentication. Learn more.
OpenAI Android developer assistance - Many developers are already getting assistance from GitHub Copilot completing code and more recently the conversational additions to GitHub pull requests, documentation, and the CLI. In this post, we’ll look at some of the ways that Android developers can take advantage of OpenAI- and ChatGPT-powered tools. Explore now!
AI-TDD: you write the test, GPT writes the code to pass it - With AI-TDD, you adjust the tests, and the code is written for you. You leave the low level of "how to code this feature" and move above to the level of "what the feature should do". You clean your head from "implementations" and start operating "ideas" as the pro maximum deluxe engineer. Know how!
GitHub Copilot for CLI makes Terminal scripting and Git as easy as asking a question - GitHub Copilot CLI brings AI code completion to your terminal. After installing it, you get three new commands. Just ask a question and you get a suggestion of code that will do that task and a detailed, human readable explanation what the code does. Checkout the commands and tutorial here.
Create Dynamic App Icon Using Activity Alias - Have you ever see some apps can change their app icon without reinstall of update their app from Play Store? We all know that one app can only contains one app icon integrated. So if your app want to integrate with multiple app icon use Activity Alias.This tutorial is a step-by-step guide to show you just that. Learn now.
Integrate computer vision with Flutter - By integrating computer vision AI with Google Teachable in a Flutter app, developers can create intelligent mobile applications that can recognise and classify images with high accuracy. In this article, we will discuss the steps required to create and train a machine learning model using Google Teachable, and how to export it as a TensorFlow Lite model that can be used in a Flutter app. Discover more.
All SwiftUI Scene Types Noted - While most developers build apps for iOS, knowing the different scene types helps you to easily build multiplatform apps and follow the apple human interface guidelines to better design and architect your ideas. Discover the latest SwiftUI scenes to help you present windows within your apps. Read more about all the SwiftUI scene types available with a resume of these key points concepts and their use.
Mobile Development Motivation
"The super app is the future. It's inevitable. Every country will have one or two super apps."
- Hooi Ling Tan, Co-founder of Grab
Food for Thought...
Superapps offer a variety of services in a single platform, but balancing user convenience with data privacy can be a challenge. They have the potential to dominate markets and provide a seamless experience, but integrating multiple services can be difficult. Localization and creating a profitable business model are also important considerations. So what does the rise of superapps mean for your mobile app development?
Mobile Machine Learning Resources
By leveraging machine learning, app developers can create more personalized and engaging experiences for users. ML can be used for a variety of purposes, such as predicting user behavior, recognizing images or speech, and improving user engagement. Overall, integrating machine learning into mobile app development has the potential to enhance the user experience and increase engagement.
Mobile-Ready
Fritz: Fritz is the machine learning platform for iOS and Android developers. Teach your mobile apps to see, hear, sense, and think.
Core ML: With Core ML, you can integrate trained machine learning models into your iOS apps.
TensorFlow Lite: TensorFlow Lite is an open source deep learning framework for on-device inference.
Create ML: Use Create ML with familiar tools like Swift and macOS playgrounds to create and train custom machine learning models on your Mac.
Turi Create API: Turi Create simplifies the development of custom machine learning models. You don’t have to be a machine learning expert to add recommendations, object detection, image classification, image similarity or activity classification to your iOS app.
ML Kit: ML Kit beta brings Google’s machine learning expertise to mobile developers in a powerful and easy-to-use package.
QNNPACK: QNNPACK (Quantized Neural Networks PACKage) is a mobile-optimized library for low-precision high-performance neural network inference. QNNPACK provides implementation of common neural network operators on quantized 8-bit tensors.
Emerging Technologies Impacting App Dev
Source: Gartner
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!
Going Through the Final Product Using ChatGPT and React Native: In this video, we will demonstrate the end results of building an Instagram-like app using ChatGPT and React Native.
What's Happening in Mobile App Dev?
Android
WWDC23 is coming soon! - Mark your calendars June 5 through 9 for an exhilarating week of technology and community. Be among the first to learn the latest about Apple platforms, technologies, and tools. You’ll also have the opportunity to engage with Apple experts and other developers.
Swift Student Challenge applications now open – Apple continues its long-standing support of students around the world who love to code. Show your passion for coding by submitting an incredible app playground on the topic of your choice using Swift Playgrounds or Xcode. Winners will receive an award, recognition, and more.
Ionic
Ionic 7 is here! - The release of Ionic 7 is announced! This stable release of Ionic comes after several betas and release candidates with improvements suggested by the Ionic community. Ionic 7 brings developer experience improvements when working with overlays, forms, and events! It also brings performance improvements for Angular, React, and Vue applications.
GitHub
Announcing the GitHub Actions extension for VS Code - The release of the public beta of the official GitHub Actions VS Code extension is announced. The extension provides support for authoring and editing workflows and helps you manage workflow runs without leaving your IDE.
Introducing self-service SBOMs - GitHub announced a new Export SBOM function that allows anyone with read access to a GitHub cloud repository to generate an NTIA-compliant SBOM with a single click. The resulting JSON file saves project dependencies and metadata, like versions and licenses in the industry standard SPDX format, which can then be used with security and compliance workflows and tools, or reviewed in Microsoft Excel.
See you next week!