Hacks & quick fixes

Collection of common issues and quick or workarounds, a valuable resource for developers looking for immediate help.

NativeScript iOS: Unable to boot the Simulator

As an iOS developer, there’s nothing more frustrating than when the iOS Simulator suddenly stops working. This tool is essential for testing and debugging your applications in a controlled environment. When it fails, your workflow…

Resolving Status Bar Overlay Issues in NativeScript Modals

In NativeScript, encountering issues with the status bar covering the modal can be frustrating. This Status Bar overlay issue typically occurs due to specific attributes in your styles.xml file. Here’s a quick guide on how…

smartphone, notebook, social media-1701086.jpg

__APPLE__ is not defined error after upgrading to NativeScript 8.7

__APPLE__ is not defined error, an anoying error that you may facing after upgrading @nativescript/core, @nativescript/ios, @nativescript/android to ^8.7.0. Although, everybody is recommended to upgrade to NativeScript 8.7 now as it contains many bugfix and…

Resolving the libc++_shared.so Conflict in NativeScript projects

Android development can be a challenging endeavor, especially when dealing with native libraries and dependencies. A common issue that developers often encounter is a conflict arising from multiple instances of the same native library being…

How to properly fix: The Info.plist key ‘BGTaskSchedulerPermittedIdentifiers’ must contain a list of identifiers

For a NativeScript app, this error usually occurs in the context of iOS app development, specifically when you or some of plugins you installed, are trying to use background tasks. To fix this problem Example…

office, home, workspace-820390.jpg

How to solve geolocation error: Cannot read property ‘PRIORITY_HIGH_ACCURACY’

If you are on NativeScript 8.1+, and using @nativescript/geolocation plugin 8.1.0, and have googlePlayServicesVersion accidentally set somewhere. Recent updates from this plugin may break your builds on Android.

Android SDK version

“Cannot find a compatible Android SDK for compilation” on fresh installed Mac

My old MacBook pro 13″ with only 8GB of RAM, did a good job for serving me well on mobile development journey. However, it could not keep up anymore with my current workload, I gave…

smartphone, notebook, social media-1701086.jpg

How to set Android target API level for NativeScript project

Yesterday, I pumped into a problem when trying to put a new release on Goole Play Console. Turn out that Google start to require app bundle to be built with API level 30 or later…