248 questions
0
votes
1
answer
37
views
nativescript-ui-sidedrawer - Unable to start activity ComponentInfob Calling js method onCreate failed
what I doing wrong? This is my top html:
<RadSideDrawer>
<Button ... ></Button>
<StackLayout MainContent>
<page-router-outlet></page-router-outlet>
</...
0
votes
0
answers
93
views
ERROR appears while executing bluetooth.write() (bluetooth class are undefined )
here is the code. what I am doing here is when ble device notifies the phone, the phone sends back some data to the ble device.
here is the connection code:
await this.bluetooth.connect({
...
-1
votes
1
answer
415
views
Is there a plugin that will let me communicate with a PocketBase database?
I'm trying to connect with a running PocketBase database. Normally, I would use their Javascript SDK to achieve this, but the package does not get shipped to the mobile device during the build process....
0
votes
1
answer
480
views
Save a NativeScript/Angular ImagePicker selection or get the full file path
Upon selecting an Image with the Image Picker I receive a content// url
content://com.android.providers.media.documents/document/image%3A139
When using ImageSource.fromAsset() I am returned in empty ...
0
votes
1
answer
165
views
NativeScript - How to Convert Magnetic Heading Degrees to True Heading Degrees
I am using Nativescript to Develop an IOS App
I am getting the magnetic Heading Degrees from the CLLocationManager
Location.service.ts
import * as geoLocation from "@nativescript/geolocation";
@...
0
votes
0
answers
163
views
Can't make using iOS protocol work in NativeScript
I am creating a NativeScript plugin that will work with my iOS and Android SDKs. In my iOS code, I have an optional @protocol that contains a few optional methods with callbacks about the state of the ...
1
vote
1
answer
450
views
How to update older version of nativescript project to work with version 8
i have a project i worked on some years back on my previous laptop(Samsung, Windows OS). I needed to refer back to that project recently so i move the source code to my current laptop (Mac M1). Upon ...
0
votes
0
answers
95
views
Memory allocation keeps increasing in Nativescript RadListView
I am having a simple app with RadListView component as in https://github.com/banchasf/nativescript-radlistview-sample. When I navigate to the page contains RadListView and navigate out to another ...
0
votes
1
answer
327
views
Nativescript 8 Screen freeze after splash screen is loaded in release build
Guys I'm working on one of my own projects, and I'm using
nativescript 8.2.1 along with angular 13.2.0
I had some weird issue that is when we run the project using the following command
"ns ...
-1
votes
1
answer
88
views
didUpdateHeading method not getting called in NativeScript 8.2
I am trying to get the heading value in nativescript iOS application using CLLocationManager, CLLocationManagerDelegate.
LocationService.ts
import { Injectable } from "@angular/core";
@Injectable(...
0
votes
1
answer
81
views
NativeScript 8.2 : how to get direction using CLHeading trueHeading
I am trying to get the direction in my nativescript app using the CLHeading trueHeading but it always returns as null.
locationservice.ts
import { Injectable } from "@angular/core";
@Injectable()...
0
votes
1
answer
339
views
NativeScript 8.2 : Cannot find name CLLocationManager, CLLocationManagerDelegate
I would like to call the ios native api's in my NativeScript Application Version 8 like this
import { Injectable } from "@angular/core";
import * as geoLocation from "nativescript-geolocation";
...
0
votes
1
answer
335
views
NativeScript 8.2 : Cannot read property 'portrait' of undefined
I am using NativeScript-Orientation-Free Plugin in my NativeScript version 8.2 Application.
My app is compiling fine with "tns run ios" but
I am getting below Error on the run time and my ...
0
votes
1
answer
153
views
NativeScript Downloader plugin: Can not open zip file after downloading the file
I am working on native script 8 and using ns plugin add @triniwiz/nativescript-downloader plugin to download the zip file from the server.
I get the download response
"status": "...
1
vote
2
answers
3k
views
When integrating old nativescript libraries throws Module not found: Error: Can't resolve 'tns-core-modules/application'
When trying to install the [Razor Pay library][1]
[1]: https://www.npmjs.com/package/nativescript-razorpay, I get the following error:
ERROR in ./node_modules/nativescript-razorpay/razorpay.android.js ...