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
7
views
How to handle kotlin SharedFlow emiited valuss in NativeScript
I am trying to use a third party sdk and one of the event emits values using kotlin SharedFlow. Is there a way I can get these emitted values in javascript?
Kotlin SharedFlow:
https://kotlinlang.org/...
0
votes
1
answer
19
views
Differences of NativeScript iOS and Android minify?
In NativeScript building of release apps, are there any significant differences between the minifying programs of iOS and Android? I'm seeing significant differences between the minified version of ...
0
votes
0
answers
71
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
53
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
24
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
16
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
18
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
13
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
44
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
18
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
35
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
50
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
32
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
44
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
...