Code

Must-read: 5 fresh articles on mobile development

Must-read: 5 fresh articles on mobile development

Free Python Course ➞ Mini-course for beginners and experienced coders. 4 cool projects in your portfolio, live communication with the speaker. Click and find out what you can learn in the course.

Learn More

Every week, we carefully select relevant materials from the English-speaking internet. In this issue, we present the most interesting news and trends in mobile development. Stay with us to stay up to date with the latest events and innovations in the mobile industry.

Android 12 Overview: What's New for Developers?

Reading this information is essential to understand what changes have been made and how they may affect your code. This will allow you to adapt to new conditions, improve the quality of your code, and avoid potential errors. Stay up-to-date with updates to optimize your development and keep it relevant.

Reading articles on Medium provides a unique opportunity to dive into a variety of topics and gain fresh ideas. This platform publishes content from authors from all over the world, covering both current events and specialized areas of knowledge. Medium offers a user-friendly interface and the ability to follow your favorite authors, making the reading experience more personalized. If you are looking for quality content and inspiration, Medium is a great choice for your reading.

In September, the fifth beta of Android 12 was released. The presentation presented various new features, but the important changes primarily affect developers. This article covers key updates related to design, performance, and security, as well as other aspects that may impact the app development process.

Here are some useful tips:

  • Blur and other graphical effects are now much easier to implement. For example, blurring requires just one line of code.
  • Geolocation. Now the user will be able to choose whether to provide their exact location or only an approximate one. Therefore, applications that require precise location will have to change the code slightly.
  • Widgets have received a whole bunch of long-awaited updates - there is also a guide to backward compatibility with previous versions of the mobile OS.
  • Loading screen. Standards for all applications and the SplashScreen API have appeared.

Is the Apple M1 suitable for mobile development?

Reading about the pitfalls of the M1 is necessary to avoid potential mistakes and problems. Understanding these aspects will help you better prepare for using and implementing a project related to the M1. This knowledge will allow you to avoid common misconceptions and increase your chances of success. By becoming aware of the pitfalls, you will be able to make more informed decisions and minimize the risks associated with the implementation of your plans.

Read this on Medium.

The author of this article spent three months working with a new Mac with an M1 processor and came to the conclusion that this processor did not live up to his expectations. What is the reason for this dissatisfaction? Despite the high performance and energy efficiency of the M1, the user encountered a number of limitations that affected his experience. First, compatibility with certain programs and applications left much to be desired. Second, some tasks requiring high computing power were performed more slowly than on previous models. Finally, the lack of ports and adapters caused additional inconvenience. Thus, despite promises, the M1 failed to meet all of the author's needs.

  • The emulator only supports one version of Android - Android S (Android SDK 30). This is very little, and, what's more, the latest version of the emulator is buggy. The author had to revert to the old one.
  • Android Studio is currently only designed for Intel. You can run it on the M1 via a translator (Rosetta), but don't expect any speed miracles. For smooth operation, you'll have to wait for the M1 version to be released.
  • The emulator issues aren't limited to Android—Xcode, the iOS development environment, also has them. The author discovered a number of bugs that interfere with the experience.
  • Compiling large apps in Xcode crashes if you have Cylance enabled. This issue is easy to work around—but if you're not aware of it in advance, it can be quite frustrating.

If you're interested in mobile development on M1 processors, we recommend reading this article, in which the author shares his observations and practical experience. In this text, you will find many useful links and resources that will help deepen your knowledge in this area.

Flutter Checklist: 11 Tips to Keep in Mind Before a New Project

Reading is essential for mastering new tools and ensuring that important development aspects are not missed. This helps stay up to date with the latest development trends and technologies, which, in turn, improves the quality of work and increases efficiency. Regularly reading specialized literature and resources allows developers to deepen their knowledge and skills, as well as avoid common mistakes.

You can read on the Medium platform.

This Flutter collection is a valuable resource for developers starting new projects. This list contains key aspects worth paying attention to, as well as recommendations for tools that can significantly simplify the development process. Let's consider a few of them.

  • Linter is a great thing for static analysis. It will help eliminate bugs and errors—and it's quite easy to implement. You can create your own code rules or use standard ones from the lint, flutter_lints, and very_good_analysis packages.
  • Implement localization, even if you're releasing an app for a single-language region—it will help in the future. For example, when text isn't hardcoded into the interface code, it's easier to change. Flutter documentation or the easy localization extension can help with localization.
  • Don't limit yourself to just the development environment: customize your environment for experiments, testing, and users. This will help you experiment without risking real data and users.
  • After creating several environments, it's time to consider automation. It's a complex topic, but there are tools that can help, such as Appcircle, Codemagic, and Bitrise.

Flutter, React Native, and Ionic – Which is Better?

Reading about platforms helps you choose the one that best suits your needs and goals. It allows you to understand the advantages and disadvantages of each, making the decision easier. Choosing the right platform can significantly improve your efficiency and results.

Read on Medium.

Flutter, React Native, and Ionic are among the most popular mobile development frameworks. If you're considering switching to one of them but aren't sure about their differences, we've prepared a brief comparison. In this article, we'll explore the key characteristics of each framework to help you make an informed choice about the most suitable tool for building mobile apps.

The popularity of web development frameworks is constantly changing based on trends and market needs. Currently, the most popular frameworks are React, Angular, and Vue.js. React, developed by Facebook, attracts developers with its flexibility and rich ecosystem. Angular, created by Google, offers a powerful tool for building complex applications using TypeScript. Vue.js, which has quickly gained popularity due to its simplicity and ease of learning, is suitable for both small projects and large-scale applications. The choice of framework depends on the specific requirements of the project, the team's preferences, and other factors. Analyzing current trends, it can be concluded that React remains the leader in popularity, but Angular and Vue.js are also making a significant impact on the industry.

React Native is one of the most popular frameworks for mobile app development. Its popularity is due to the use of JavaScript in combination with the React library, making it attractive to developers. Ionic is second in popularity, and also has its own audience. Flutter, developed by Google, is close behind. It is safe to assume that Flutter will gain popularity, given the support and resources Google provides.

Comparing frameworks by the number of third-party libraries is an important aspect when choosing a technology for development. Today, React, Angular, and Vue.js are the most popular frameworks, each with its own features and advantages. React stands out for its large number of available libraries and components, allowing developers to quickly find solutions for various problems. Angular offers a wide range of tools and integrations, but it's slightly inferior to React in terms of third-party libraries. Vue.js, while less widespread, also has an active community and many useful libraries that support its ecosystem. When choosing a framework, it's worth considering not only the number of third-party libraries but also their quality, community activity, and supported features. This will help ensure efficient and rapid development of your project. React Native stands out for its popularity, which is a key factor in its success. The more users a framework has, the more extensive its ecosystem of libraries and tools. While Ionic offers a variety of solutions, its selection can't compete with that of React Native. On the other hand, Flutter also holds a significant place in the industry today, attracting the attention of developers thanks to the abundance of libraries and active discussion of their features online. This creates a wealth of resources and recommendations for developers, making Flutter an attractive choice.

Choosing a framework for managing repetitive code depends on many factors, including project requirements, the development team's preferences, and the specifics of the code itself. However, some frameworks stand out for their effectiveness in managing repetitive code.

For example, frameworks such as React and Angular offer powerful tools for creating components, allowing developers to reuse code and improve its structure. Vue.js also provides high flexibility for working with templates and components, which helps optimize repetitive code.

It is important to consider that the framework should be tailored to the specifics of the project and ensure ease of maintenance and extension of the code. Furthermore, adequate use of design patterns such as MVC or MVVM can significantly simplify working with repetitive code, regardless of the chosen framework.

Therefore, choosing a framework for working with repetitive code requires careful analysis and understanding of the features of each tool.

Ionic is considered one of the best tools in its category due to its high support for code reuse and the availability of an extensive library for this. Flutter also offers opportunities for code reuse and can be an effective choice for certain projects. However, React Native does not demonstrate the same high level in this regard: although code reuse is possible, its implementation is more complex.

5 Tips for Working on Million-User Apps

Reading this material will help you understand the risks and pitfalls that arise when working with large volumes of traffic. After studying this text, you will be able to avoid common problems and effectively manage your online resource, optimizing it for high loads. Understanding these aspects will help you improve the user experience and increase the reliability of your website.

Read on Medium.

Many developers dream of their app becoming a leader and attracting millions of users. However, with growing audiences comes significant responsibility. This article offers five valuable tips from experts who have worked on apps with millions of users. These tips will help you not only attract users but also effectively manage their expectations and needs.