7,256 questions
1
vote
1
answer
45
views
Why does my BLE peripheral disappear from my app's scanning menu after first scanning on iOS?
I'm trying to develop a custom app using Svelte Native (the cross-platform development tool based around Svelte) and the NativeScript Community BLE library. This app is designed to connect to an ...
0
votes
2
answers
62
views
NativeScript Android app closes when trying to add a marker in Google Maps
I'm having a problem with my code. I'm just trying to add a simple marker. Here's my implementation
<script setup lang="ts">
import { AbsoluteLayout, Page } from '@nativescript/core';
...
0
votes
0
answers
36
views
How do you import Material Icons to NativeScript project?
I'm trying to build a Material Design checkbox using Material Icons. Specifically, just for this case, I plan to use the check_box_outline_blank, select_check_box, and indeterminate_check_box.
Here's ...
0
votes
1
answer
71
views
$navigateTo error: Failed to resolve Frame
I have a NativeScript-Vue app using Firebase like this:
<!-- src/components/App.vue -->
<script setup lang="ts">
import { firebase } from '@nativescript/firebase-core';
import '@...
0
votes
1
answer
76
views
Where do I point JAVA_HOME for NativeScript to work correctly?
I'm trying to get started with NativeScript, but I'm getting these errors from ns doctor
✖ Error executing command 'javac'. Make sure you have installed The Java Development Kit (JDK) and set ...
0
votes
0
answers
39
views
Trouble resetting an Angular Reactive Form in a NativeScript application
When resetting a reactive form in my component, the state is being reflected differently in the template than in the component code.
Example:
onSubmit(): void {
this.form.reset();
this.form....
1
vote
2
answers
460
views
Layout drawing behind status and navigation bars after upgrading target SDK from 34 to 35 in NativeScript app
I'm developing a NativeScript application and recently upgraded my target SDK from 34 to 35 (Android 15 Preview). After this change, I noticed that the app layout started drawing behind the status bar ...
0
votes
0
answers
48
views
NativeScript app crashes in release APK but works in debug and production builds
I'm working on a NativeScript (v8+) app that runs perfectly in both debug mode (ns run android) and production build (--env.production). However, when I generate a release APK using:
ns build android -...
1
vote
0
answers
88
views
Nativescript Android app crashes when requesting permissions: "removeAllCookies must be called on a thread with a running Looper."
I am having trouble with a NativeScript app I'm building. The issue is specifically on android. As soon as I begin the flow to request a permission the app crashes. I have tried multiple approaches. I ...
0
votes
0
answers
61
views
Nativescript Android Build Failed: com.android.tools.build:gradle plugin
Just recently I've been having some trouble building my Android platform. When I build, I get two task errors.
1: Task failed with an exception.
-----------
* Where:
Build file '/Users/.../platforms/...
0
votes
1
answer
58
views
Angular Capacitor, NativeScript, Ionic returns CodeSign failed with a nonzero exit code for iOS
I am writing here to find someone who can help me to solve the issue with the Xcode
I have tried different frameworks for mobile application (Angular Capacitor, Angular Ionic, Angular NativeScript) ...
0
votes
1
answer
67
views
I get bug when I access Local time - react native
I am using react native to develop an app that fetches usage time from third party apps in device. I am fetching usage time from midnight 12am to current time. But the usage time I got is a bug.
The ...
7
votes
0
answers
2k
views
App Crash on iOS Device: "Can't show file for stack frame" Error with NativeScript in Xcode
I'm developing an iOS application using NativeScript and recently started testing it on a physical iPhone device. When I build the app in Xcode and run it on the device, it immediately crashes. In the ...
1
vote
0
answers
95
views
NativeScript/Angular App crashes with java.lang.SecurityException: "Writable dex file is not allowed. "
I have an issue with a NativeScript Angular app... everything is up to date. The app was working perfectly fine up until Android 14 (API Level 34). Now the app crashes with various error messages like:...
1
vote
1
answer
562
views
"The AppComponent class is a standalone component, which can not be used in the @NgModule.bootstrap array" with Nativescript
my Nativescript-Angular project was full workable two month ago, but now unexpectedly shutdown, I even don't know what exactly changing made in my environment, Angular look as the same version
Angular ...