Questions tagged [angular-nativescript]
61 questions
0
votes
1 answer
builder.parse() with bindingContext
I have the following code:
private loadSlides(): Promise {
return new Promise((resolve, reject) => {
const component = builder.parse(slideTemplate);
component.bindingContext = {
content: 'HHAHAAHA'
};
…

iamjc015
- 2,127
- 6
- 25
- 61
0
votes
0 answers
ui/builder load() returns undefined
I have a function like this:
private loadSlides(): Promise {
return new Promise(function (resolve, reject) {
const slideViews = []
slideViews.push(builder.load(__dirname +…

iamjc015
- 2,127
- 6
- 25
- 61
0
votes
0 answers
How to use Azure Active Directory as an identity provider for my mobile application?
In order to identify the users of my mobile application, and link their identity with a web application, I want to use Azure Active Directory accounts and catch their OID.
Actually my mobile application uses Kinvey accounts, as shown in the…

Elentir
- 13
- 3
0
votes
2 answers
How to output a List of object and its nested list of object inside Angular-Nativesript ListView?
Good day,
I having problem in angular-nativescript shared code project.
the model and components works fine but the output is not as i expected
i think the problem is in my view(Homecomponent.tns.html)
I have an angular model contains list of…
0
votes
0 answers
Local builds using Nativescript Sidekick (macOS)
I am trying to make local build using NS Sidekick to get advantage of my MacBook Pro and seems like there are some issue with the certificate/provisioning profile.
According to the doc, I have edited the file build.xcconfig like…

relez
- 750
- 2
- 13
- 28
0
votes
1 answer
Facing problem in putting color dots of relevant events on a single date
I am facing problem in showing dots of events on a single date. However, I managed to display event color as a square box. But I want to display it as a dot. The events are coming from the API. Any suggestions how can I overcome this problem?
When I…

Nabid
- 197
- 5
- 24
0
votes
1 answer
Native script DatePicker shows wrong value of month
I have a problem in DatePicker in native-script. It starting month from 0
For example:
const datePicker = args.object;
datePicker.minDate = new Date(1975, 1, 1);
output:it shows
1 Feb 1975

Amar Yadav
- 182
- 1
- 10
0
votes
1 answer
On tapping a button in native-script app the function is not working
In Native-script app, on tapping a button the function is not working(not called). When I make any change or even write console.log('hi') inside that function then it start works. But when I go to another screen and come back to the previous screen…

UmerDeveloper
- 55
- 7
0
votes
1 answer
Image zoom issue in angular nativescript
I am trying image zoom in my angular app with "nativescript-photo-zoom" and nativescript-image-zoom but its throwing "PhotoDraweeView is not a constructor error" can anyone help me?
my code
html:

PrabhuPrakash
- 261
- 2
- 7
0
votes
1 answer
Error messages once a NativeScript app loads on Android
after updating my app to NativeScript 5.1/tns-core-modules to 5.1.2, I am having this messages once the app starts:
01-30 09:59:57.001 12223 12223 I art : at java.lang.Object com.tns.Runtime.callJSMethodNative(int, int, java.lang.String, int,…

relez
- 750
- 2
- 13
- 28
0
votes
0 answers
Nativescript Video observe current time for playFromUrl
Using nativescript video plugin there a way to put a spinner up for a video that is loading from a url?
I see this in the documentation:
Observable Properties
currentTime() - Current time of video.
But I don't see an example of how to use it.

bradrice
- 1,655
- 2
- 24
- 44
0
votes
1 answer
How to create grid with 2 columns of cards [Nativescript and Angular]
Need grid to be something like this:
card1 card2
card3 card4
...
And to be dynamic
Here is my try:
component:
export class MenusComponent implements OnInit {
public menus: any;
constructor() {
this.menus = [
{
image:…

Vladimir Djukic
- 925
- 2
- 9
- 28
0
votes
2 answers
As soon as I install nativescript-ui-listview it crashes with classnotfoundException
I am using nativescript and as soon I install the listview plugin it crashes
If I run
tns run android
It compiles and run in the emulator.
I close the run with CONTROL+C
Then I install nativescript ui listview with:
tns plugin add…

dmance
- 628
- 1
- 8
- 26
0
votes
1 answer
iOS keyboard locale
I have an issue with DecimalPad keyboard type for iOS in NativeScript. In eu locales it is common to use comma instead of dot for floating numbers so DecimalPad keyboard exposes comma character.
My app business logic requires to support US locale…

Daniel
- 993
- 2
- 10
- 23
0
votes
0 answers
Nativescript : Nested RadListView does not preserve scroll position on page navigation
I am trying to create a nested list view(parent horizontal scroll and children vertical scroll), which is working and looking perfect but as click on vertically present child item and navigates to new page and then comes back, the vertical scroll…

Deepika
- 460
- 5
- 20