940 questions
0
votes
0
answers
48
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
0
answers
29
views
NativeScript+Angular Debug devtools URL
I have used ns create example-app --ng and ns debug android. When I open the page url: devtools://devtools/bundled/inspector.html?ws=localhost:40000 inspecting elements when navigating back and ...
1
vote
0
answers
41
views
@nativescript-community/ui-material-bottomsheet crashes on iOS with "MDCBottomSheetControllerDelegate is not defined"
I am trying to use the @nativescript-community/ui-material-bottomsheet plugin in my NativeScript Angular app. The plugin works perfectly on Android, but it crashes on iOS when calling the install() ...
0
votes
1
answer
57
views
How to properly install and use katex in a nativescript-angular project
After successfully installing and using katex in an angular project, I decided to try it in a mobile app project based on nativescript-angular.
After the installation of katex in the nativescript-...
1
vote
1
answer
62
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
44
views
How to bind custom Image loader to Image UI element on Angular Nativescript
I have Nativescript Angular form like this:
<ListView #list [items]="items" >
<ng-template let-i="index" #template >
<GridLayout orientation="...
0
votes
1
answer
268
views
Can't build Nativescript + Angular app: inspector_modules doesn't exist
My colleague has created a project with NativeScript + Angular.
She has pushed the project in the git-repo and then I cloned it on my machine.
I installed everything under this guide but when i run ...
2
votes
1
answer
3k
views
Can't create a new project: spawn EINVAL
I'm trying to create a new project with NativeScript and Angular.
I have installed what is described here.
When I run the command tns doctor everything is fine. There it is the result:
✔ Getting ...
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
1
answer
98
views
Nativescript angular Push notifications that trigger a background refresh before showing the push notification
I would like to extend ordinary push notifications by giving applications a chance to update content in the background before notifying the user so that the user can open the application and be ...
0
votes
1
answer
109
views
Nativescript Angular IOS : Domain=NSURLErrorDomain Code=-1001 "The request timed out." when uploading files
When I am trying to upload files in the slower networks I get the below error in the xcode
Upload Code :
uploadPhotos(): void {
let message;
this.photos = this.service....
0
votes
1
answer
757
views
Installing NativeScript environment, issue with cocoapods on M1 mac in 2023
I am having issues with installing NativeScript. My machine uses a M1 chip, I'm reading M1 and cocoapods have issues. Other SO answers are not fixing the issue, and some are outdated. Hoping we can ...
0
votes
1
answer
116
views
NativeScript: Format long text, especially an ordered list
We are developing a mobile app using NativeScript 8 with Angular. We want to display long formatted texts like our terms and conditions right in the app, but formatting those long texts is quite ...
1
vote
1
answer
71
views
Nativiscript App rejected on PlayStore, not compliant with Google Play Policies (MANAGE_EXTERNAL_STORAGE)
We develop a mobile app with NativeScript 8.5 and encounter an issue when trying to publish on Google PlayStore. The app is rejected because it ask permissions MANAGE_EXTERNAL_STORAGE, which is ...
1
vote
0
answers
83
views
@nativescript/imagepicker - TypeError: Cannot read properties of null (reading 'getName') on Android when picking a photo
I've migrated from https://www.npmjs.com/package/nativescript-mediafilepicker to @nativescript/imagepicker and having issues with it on Android platform when picking images.
Below is my config
...