Follow and complete a Learn MOAR Winter ’22 trailmix for Admins or Developers by October 31 to earn a special community badge and enter for a chance to win one of five $200 USD Salesforce Certification vouchers. Restrictions apply. Learn how to participate and review the Official Rules by visiting the Trailhead Quests page.
At Salesforce, our goal for every release is to improve the experience for all types of users who are building on our mobile platform. Winter ’22 is no exception. We provide a unified developer experience for our customers and partners. And we make it easier, not just for developers, but for all users to be successful when building for mobile.
To accomplish this, we provide Salesforce mobile app emulator and simulator builds for each release. When building Lightning Web Components, these virtual device builds enable developers to preview and debug their components and applications running within the Salesforce mobile app across many different device types. Developers can easily connect these virtual device builds to Chrome and Safari developer tools for debugging. In addition, developers can do automated testing for mobile by connecting their testing suite to these virtual device builds. For LWC local development, developers can preview for mobile and desktop browsers prior to publishing their component to an org.
For customers looking to build custom, pixel-perfect mobile apps, our pro-code Mobile SDK helps developers do just that. Salesforce Mobile SDK allows developers to build a fully custom mobile experience on top of Salesforce. Mobile SDK powers the mobile apps at Salesforce, including the Salesforce mobile app, Salesforce Field Service, Trailhead Go, and more. Whether you’re building apps for iOS, Android, or cross platform, our Mobile SDK simplifies your custom app mobile experience.
Let’s review the more recent highlights for mobile development.
Validators in VS Code
The mobile platform experience provides best practices and guidelines to help you build for mobile right from the start. If you’re skipping past these docs, then you’ll be happy to learn that we’ve added validators to the Salesforce Extensions for VS Code to provide programmatic guidance for base components, CSS, and the ability to work offline (pilot) for your Lightning Web Components.
Validate mobile-friendly base components
When adding base components to your LWCs, it’s important to consider mobile. Most base components work just fine on mobile “out of the box.” But, a few base components don’t work well on mobile devices, and our validators warn you when you use one of them.