nativescript-plugin

How to edit NativeScript-Angular RadDataForm UIStepper on iOS?

让人想犯罪 __ 提交于 2021-02-10 14:14:55
问题 In a NativeScript-Angular app, I’m trying to style a RadDataForms TKPropertyEditor . For the Stepper Editor on iOS I want do increase the distance between the controls and the displayed value, but I can't find a way to access them. I'm using nativescript-ui-dataform: 4.0.0 . <TKEntityProperty tkDataFormProperty name="grade" displayName="Bewertung (1 – 10)" index="1"> <TKPropertyEditor tkEntityPropertyEditor type="Stepper"> <TKPropertyEditorParams tKEditorParams minimum="1" maximum="10" step=

JS: firebase.init error: TypeError: Cannot read property 'database' of undefined

别等时光非礼了梦想. 提交于 2020-06-28 11:10:40
问题 Am getting this error after following the steps mentioned in the nativescript-plugin-firebase readme file. JS: firebase.init error: TypeError: Cannot read property 'database' of undefined https://github.com/EddyVerbruggen/nativescript-plugin-firebase but i dont really understand nor do i know how to solve that. the version of the plugin am using is : 6.4.0 with tns 4.1.2 EDIT: init code, from app.js var firebase = require("nativescript-plugin-firebase"); firebase.init({ persist: true //

NativeScript Google maps java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion

陌路散爱 提交于 2019-12-24 10:37:31
问题 I switched to {N} 5.0, now i have an issue with nativescript-google-map-sdk, same error as here: Android Google maps java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion The issue with Android API 28, there is a config that should be set manually in manifetst, https://developers.google.com/maps/documentation/android-sdk/config#specify_requirement_for_apache_http_legacy_library When I add <uses-library android:name="org.apache.http.legacy" android:required=

Where could I find sha1 fingerprint in nativescript android app?

天涯浪子 提交于 2019-12-23 03:52:12
问题 I getting error while using firesbase login with google JS: Make sure you've uploaded your SHA1 fingerprint(s) to the Firebase console JS: Has the SHA1 fingerprint been uploaded? Sign-in status: Status{statusCode=NETWORK_ERROR, resolution=null} How to fix this? 回答1: You can use this page to generate the SHA1 codes you need. https://developers.google.com/android/guides/client-auth Then in the Firebase console on the settings general tab there is a spot labeled: "SHA certificate fingerprints"

Integrating nativescript-paytm plugin in nativescript-vue application

流过昼夜 提交于 2019-12-22 08:02:11
问题 I'm having a nativescript-vue application where I want to integrate nativescript-paytm plugin, I created a method on click event: payNow() which contains all the necessary details of Paytm as described in Readme.md/documentation/demo app. import { Paytm, Order, TransactionCallback, IOSCallback } from "@nstudio/nativescript-paytm"; const paytm = new Paytm() methods: { payNow() { paytm.setIOSCallbacks({ didFinishedResponse: function(response) { console.log(response); }, didCancelTransaction:

Use Nativescript Core plugin in Nativescript Angular project

一个人想着一个人 提交于 2019-12-13 04:45:55
问题 I am using in my Nativescript Angular app the nativescript-google-maps-sdk plugin which works great. My issue is that I want to use cached images to display in a custom InfoWindow. For this purpose I am using the nativescript-web-image-cache plugin app-wide. When I use the regular <WebImage> tag in the infoWindow it complains that it is not a registered component: Module 'ui/web-image' not found for element 'WebImage' Everywhere else in the app it works just fine. In this issue is it

How to handle a missing plugin in NativeScript preview app

回眸只為那壹抹淺笑 提交于 2019-12-11 18:21:18
问题 I've built a basic layout app with NativeScript & Angular and am trying to preview it on my android device. when running tns preview I get a message saying that Plugin nativescript-ng-shadow is not included in preview app on device {{Guid}} and will not work. is there a way to include this plugin on the preview app, or does that mean that that i cannot preview this app? 回答1: There are some limitations of what changes and applications are supported by Playground. The Preview app comes with a

Kiosk mode in NativeScript for Android App

那年仲夏 提交于 2019-12-09 20:08:39
问题 From past few days, I am trying to implement kiosk mode (Locked app) in NativeScript with Angular for Android App. I have tried it directly but unable to handle all the buttons in Android like Home and Recent Apps buttons. I am able to handle Back and Volume up and down buttons. The other way, I tried is creating my own Plugin using Android Native but I was unable to do so. There are two options for Kiosk mode in Android Native. One is Screen Pinning (Programmatically) and the other is using