nativescript

NativeScript + Vue.js + FontAwesome

余生长醉 提交于 2020-05-12 18:58:14
问题 I'm trying to use FontAwesome icon set to build an application over NativeScript and Vue.js but I can't figure out the problem since I not even have an error prompt message. I'm following the documentation as a faithful but nothing happens. I search everywhere but.. nothing. If you can help me with this I'd be so grateful. Documentation: https://nativescript-vue.org/blog/using-fonticons/ Thanks! SOLUTION Create a folder named fonts in the app folder Generate a style file and put the following

NativeScript + Vue.js + FontAwesome

跟風遠走 提交于 2020-05-12 18:54:25
问题 I'm trying to use FontAwesome icon set to build an application over NativeScript and Vue.js but I can't figure out the problem since I not even have an error prompt message. I'm following the documentation as a faithful but nothing happens. I search everywhere but.. nothing. If you can help me with this I'd be so grateful. Documentation: https://nativescript-vue.org/blog/using-fonticons/ Thanks! SOLUTION Create a folder named fonts in the app folder Generate a style file and put the following

NativeScript + Vue.js + FontAwesome

房东的猫 提交于 2020-05-12 18:54:10
问题 I'm trying to use FontAwesome icon set to build an application over NativeScript and Vue.js but I can't figure out the problem since I not even have an error prompt message. I'm following the documentation as a faithful but nothing happens. I search everywhere but.. nothing. If you can help me with this I'd be so grateful. Documentation: https://nativescript-vue.org/blog/using-fonticons/ Thanks! SOLUTION Create a folder named fonts in the app folder Generate a style file and put the following

Nativescript-vue Not Live Updating

岁酱吖の 提交于 2020-04-17 22:10:33
问题 I used to run the command : tns run android --bundle . And when i saved the changes, they were automatically updated in the physical and virtual android emulators. Now when i save the changes, nothing happens and have to run the command again to see the changes. When i save the project, it appears the following message: File change detected. Starting incremental webpack compilation... Hash: 2e482eb5460af6f4127a Version: webpack 4.27.1 Time: 1119ms Built at: 12/04/2019 11:31:32 AM Asset Size

Nativescript-vue Not Live Updating

我的梦境 提交于 2020-04-17 22:10:30
问题 I used to run the command : tns run android --bundle . And when i saved the changes, they were automatically updated in the physical and virtual android emulators. Now when i save the changes, nothing happens and have to run the command again to see the changes. When i save the project, it appears the following message: File change detected. Starting incremental webpack compilation... Hash: 2e482eb5460af6f4127a Version: webpack 4.27.1 Time: 1119ms Built at: 12/04/2019 11:31:32 AM Asset Size

Nativescript-vue Not Live Updating

跟風遠走 提交于 2020-04-17 22:09:51
问题 I used to run the command : tns run android --bundle . And when i saved the changes, they were automatically updated in the physical and virtual android emulators. Now when i save the changes, nothing happens and have to run the command again to see the changes. When i save the project, it appears the following message: File change detected. Starting incremental webpack compilation... Hash: 2e482eb5460af6f4127a Version: webpack 4.27.1 Time: 1119ms Built at: 12/04/2019 11:31:32 AM Asset Size

nativescript-sms-receiver event onSMSReceived never occurs but the others do how to manage it?

|▌冷眼眸甩不掉的悲伤 提交于 2020-03-26 03:49:38
问题 The timeout event occurs but the onSMSReceiver (an event too) never work. I tried to get the message from an alert but I don't arrive to make it work till now . I have also add the code to the AndroidManifest.xml file. The link of the module I used : https://www.npmjs.com/package/nativescript-sms-receiver The code below to show you : const smsreceiver=require("nativescript-sms-receiver").SmsReceiver; var messages=""; exports.onTap=function(){ console.log("It's working +++++++");

NativeScript - how to get unit tests to work properly?

折月煮酒 提交于 2020-03-25 18:24:12
问题 I'm writing an app with NativeScript 6+ and Angular 8+. I'm trying to write some unit tests and get them up and running. I have read the documentation on unit testing: https://docs.nativescript.org/tooling/testing/testing I followed the directions there for setting up the tests and using TestBed. My tests are not working and throwing errors. Here is my repository: https://github.com/aubrey-fowler/NativeScriptUnitTests Questions: The documentation only shows an example of how to write a test

NativeScript - 'Build failed with error code 2'

非 Y 不嫁゛ 提交于 2020-03-23 10:19:12
问题 My NativeScript Angular project, on which I've been working for some time, stopped compiling about one week ago, error message is Build failed with error code 2 . But, on another machine project compiles normally! On both computers I use NativeScript Sidekick, latest version: 1.19.1-v2019.8.1.2, NativeScript CLI version: 6.0.3, CLI extension nativescript-cloud version: 1.18.1, CLI extension nativescript-starter-kits version: 0.3.5 I've reinstalled node, tns and Sidekick, I've deleted cloud

Code Signing Error - Verify the value of the CODE_SIGN_ENTITLEMENTS

守給你的承諾、 提交于 2020-02-25 08:32:34
问题 If i try to compile a IOS-Nativescript-App using cloud-service from sidekick, i get this error: (CLI) Code Signing Error: The file \"/tmp/builds/_/27e1345b5c089d99eb18995c590617489875f779/5.0.0/5.0.0/APPNAME/platforms/ios/APPNAME\APPNAME.entitlements\" could not be opened. Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target \"APPNAME\" and build configuration \"Debug\" is correct and that the file exists on disk. [xcode-build] Code Signing Error: Code signing is required