Questions tagged [nativescript]
NativeScript is an open source framework created by Telerik that makes native mobile app development easier for web developers. It enables developers to use JavaScript or TypeScript (with or without Angular or Vue) to build native mobile applications for iOS and Android. NativeScript apps render native UI components styled by a subset of CSS. Modules provide cross-platform native API abstractions. 100% of native APIs are available via JavaScript.
nativescript
7,295
questions
0
votes
0
answers
22
views
How to resolve PendingIntent issue with Android SDK 34
In my Nativescript app, I am not directly using PendingIntent object but still I am getting the below error
java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of ...
1
vote
0
answers
25
views
Error with nativescript compilation due to gradle version change?
I have a nativescript project that is built through jenkins.
Up until July 9th, the project built without any issues. On that same day, and after a commit, the build stopped working.
To make sure that ...
0
votes
0
answers
15
views
Nativescript Android stuck on splash screen
I am upgrading my nativescript app to support android 34 and facing this issue when app just stuck on splash screen and closes after a while.
here is my app.gradle file:-
// plugins {
// id '...
0
votes
0
answers
13
views
NativeScript services error when try use a axios or other webservice library. webpack errors
I create a simple android hello-world project (nativescript angular) latest or v17 and it run normal, then I install axios npm i axios if I try a simples get a lot errors happens. I installed some ...
0
votes
0
answers
16
views
Nativescript ns clean error. Giving error Unable to start Cleanup process. Error while reporting exception: Error: Unable to start Cleanup process
I am working on nativescript project version 8.7.2. Node version - 22.2.0.
Getting issue with command ns clean. ns build android or ns run android commands are not working.
ns clean error image
Not ...
0
votes
0
answers
11
views
Run nativescript locally on browser
Is it possible to run NativeScript locally in the browser? I have not seen the option readily available. It will be good if it runs on a port that can be opened by a browser. The workaround is much ...
0
votes
1
answer
40
views
How to write file to external Android storage from Nativescript
I want to export file to /sdcard/Documents/ or /storage/emulated/0/Documents/
I have needed permission on application declaration
<uses-permission android:name="android.permission....
0
votes
0
answers
17
views
(nativescript) Utils.android.getApplicationContext().checkSelfPermission('storage') always return false
Android manifest
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&...
0
votes
1
answer
34
views
FilePicker on Android can not show any files
I try use this filePicker https://market.nativescript.org/plugins/@angelengineering/filepicker/ for my Android Nativescript application
Manifest of my application allow me read storage
<uses-...
1
vote
1
answer
47
views
Nativescript Angular Tabs. Update a component's view after changing the data in another component
In a Nativescript Angular app I am using Nativescript Material Design Tabs with lazy loading.
I have a ReportsComponent showing a RadListView of Expense Reports which each contain one or more Expense ...
0
votes
1
answer
31
views
string base64 on Android (nativescript)
I try to use
(1) atob() and btoa() - functions missing
(2) node Buffer - functions also missing
(3) native Android decoder - getBytes function missing
const bytes = password.getBytes("UTF-8")...
0
votes
0
answers
39
views
Module not found: Error: Can't resolve 'nativescript-permissions'
I try to use filePicker https://github.com/prabudevarrajan/nativescript-plugin-filepicker
and receive error:
Module not found: Error: Can't resolve 'nativescript-permissions' in '...'
but package ...
0
votes
0
answers
27
views
Additional loader to handle the result of these loaders: Nativescript app build issue
getting below error, when tried to upgrade project to node v20.12.2 & nativescript - 8.7.0 and run 'ns build android'
ERROR in ./node_modules/glob/node_modules/minimatch/dist/mjs/ast.js 188:11
...
0
votes
0
answers
32
views
Nativescript issue: You may need an additional loader to handle the result of these loaders. when try to do `ns build android`
ns build android is throwing below issue. How to know which loader needs to be added here. Please help to resolve this issue.
ERROR in . / node_modules / glob / node_modules / minimatch / dist / mjs / ...
0
votes
0
answers
25
views
Error in downloadBitmap - java.io.IOException: Unable to connect to: file://data/, Error in reading bitmap - java.io.FileNotFoundException
I define iconRef in Angular Nativescript code as:
<Image #icon />
@ViewChild("icon", { static: false }) iconRef: ElementRef;
and try dynamically changing image as
this....