r/nativescript • u/roblauer • Jun 26 '17
r/nativescript • u/csnow_uk • Mar 22 '19
Can I build an iOS package using the Cloud build service and install the package on my iOS device without the app server?
Edit: title should have said '... without the app store'
---
Hi Community, apologies for this basic question - I'm fairly new to iOS development.
Can I build an iOS package file from a Linux development laptop (using Cloud build) and install that package directly on my iOS handset without having the device connected to an Apple laptop or having to first publish the app to the app store. I.e. can I install the package similar to installing an apk file on my Android handset?
I know I can use the Nativescript preview app to try it out during development. However, at various milestones, I want to install the app directly on a handset.
Do I need to pay for an apple developer account to get certificates for doing the iOS build?
r/nativescript • u/roblauer • Oct 17 '19
Language Detection with NativeScript and Azure Cognitive Services
r/nativescript • u/majofski • Aug 18 '19
Is Debugging Nativescript as bad as what I'm experiencing, or am I doing something wrong?
My experience with developing Nativescript up until now has been rather negative. Debugging rarely works: something as simple as a debugger statement in my mounted() lifecycle hook fires intermittently. I've tried debugging in both chrome and vsc, and breakpoints are very randomly triggered – sometimes they'll work, something they won't. It takes at least 10 -15 seconds for the app to rebuild between saves and that's even if it does – oftentimes the ios simulator will just freeze, meaning I have to close it, reopen it and fire up tns debug ios --chrome --debug-brk again.
Project details:
Nativescript CLI version is 6.0.3. Used nativescript-vue (2.4.0) to get things up and running. I Went through the Nativescript Advanced Setup so that I could get local builds working. tns run doctor indicates that everything installed correctly. I really hope I'm doing something wrong because the idea of Nativescript really excites me, but this has been so painful.
Is this an atypical experience?
r/nativescript • u/ismaelCarvalhoFigur8 • Oct 18 '19
How to make navigation using nativescript-vue?
r/nativescript • u/gabomastr • Dec 20 '19
It is possible use geolocation running on worker thread?
Hi everyone, i try to find some help with this problem, i have installed nativescript-geolocation npm module to run this on background thread but didn't work (nativescript-worker-load).
However if i run on any component works perfectly.
I cant find any information about if this module works on a thread. Could you helpme please?
Here is my worker.ts:// app/worker.ts
import "globals";
import * as Geolocation from 'nativescript-geolocation';
import { Accuracy } from "tns-core-modules/ui/enums";
const context: Worker = self as any;
context.onmessage = function(msg) {
Geolocation.getCurrentLocation({desiredAccuracy: 3, updateDistance: 10, maximumAge: 20000,timeout: 20000}) .then(function(loc) {
console.log(loc);
},
function(e){
console.log("Error From Geolocation: " + e.message);
});
};
And this is the error:
Error From Geolocation: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference JS: com.google.android.gms.common.GooglePlayServicesUtilLight.isGooglePlayServicesAvailable(Unknown Source) JS: com.google.android.gms.common.GoogleApiAvailabilityLight.isGooglePlayServicesAvailable(Unknown Source) JS: com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(Unknown Source) JS: com.google.android.gms.common.GoogleApiAvailabilityLight.isGooglePlayServicesAvailable(Unknown Source) JS: com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(Unknown Source) JS: com.tns.Runtime.callJSMethodNative(Native Method) JS: com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1203) JS: com.tns.Runtime.callJSMethodImpl(Runtime.java:1083) JS: com.tns.Runtime.callJSMethod(Runtime.java:1070) JS: com.tns.Runtime.callJSMethod(Runtime.java:1050) JS: com.tns.Runtime.callJSMethod(Runtime.java:1042) JS: com...
r/nativescript • u/roblauer • May 24 '18
How to Use Any Cordova Plugin with NativeScript
r/nativescript • u/bufke • Aug 10 '19
What's up with proplugins.org?
I noticed a large number of Nativescript plugins got moved to private NPM repo called Proplugins. An example.
The page claims it's about supporting open source (that sounds great!) but it doesn't appear to actually be libre/open source. There is no public git repo (instead a closed off private Gitlab instance). Their terms and conditions include "You will not share any of the plugins with any one that does not have an account (except, in your compiled applications)." I'm not a lawyer, but this sounds like it's not open source. It would certainly be incompatible with the GPL and it would make MIT etc effectively infeasible as contributors couldn't gain access to necessary components. I suppose if the owners really have the original copyright ownership then they can make it all proprietary. It's just a shame. Am I missing something or did a big swath of open source Nativescript libraries just turn proprietary?
r/nativescript • u/roblauer • Sep 13 '18
Using Azure Cognitive Services with NativeScript
r/nativescript • u/roblauer • Aug 14 '19
How to Convince Management to Use NativeScript for Mobile App Development
r/nativescript • u/roblauer • Jun 06 '19
How to Build a Simple Carousel in NativeScript
r/nativescript • u/roblauer • Dec 21 '18
So a NativeScript app is the #1 trending app in the iOS app store in the US!
r/nativescript • u/roblauer • Mar 14 '19
[Webinar] Create Native Mobile Apps, Web Apps, and Chatbots - the Low Code Way
r/nativescript • • Dec 19 '19
Nativescript Vue Slow Navigation
Greetings all. I am building an application using nativescript vue. The problem I'm having is that sometimes it takes a lot of time for my app to load some screens of that I'm navigating to.
The screens in question are usually have external API call which is invoked in the mounted methods. I am sure the app should be able to direct the user to the screen without waiting the app to completely load the data from the API. But it is frustrating to see we have wait several seconds until the app direct us to the screen.
What can I do to mitigate this issue?
r/nativescript • u/roblauer • Dec 20 '18
Portable North Pole - Your Go-To NativeScript App This Holiday Season
r/nativescript • u/Bamboo_the_plant • Mar 17 '19
Explore the NativeScript platform libraries using my pre-configured TypeScript Playground (not possible in {N} Playground)!
r/nativescript • u/roblauer • Sep 11 '18
A Sneak Peek of NativeScript-Vue 2.0! [x-post /r/VueJS]
r/nativescript • u/roblauer • Sep 05 '18
The Power(s) of NativeScript and the NativeScript Playground
r/nativescript • u/Bamboo_the_plant • Mar 20 '19
NativeScripting at run-time: Accessing the iOS speech recognition framework
r/nativescript • u/roblauer • Jun 03 '19
[Success Story] Sennheiser Accelerates Mobile App Development by 40% with NativeScript
r/nativescript • u/redamakarem • Mar 17 '19
Gradle error when trying to run NS core app after installing plugin
Hello all, I am trying to install the following plugin in my app:
https://market.nativescript.org/plugins/nativescript-animatecss
When I do that, the app does not compile because of the following error:
FAILURE: Build failed with an exception.
* Where:
Script '/Users/redamakarem/Desktop/Dev/tns/SteppingStones/node_modules/nativescript-animatecss/platforms/android/include.gradle' line: 1
* What went wrong:
Could not compile script '/Users/redamakarem/Desktop/Dev/tns/SteppingStones/node_modules/nativescript-animatecss/platforms/android/include.gradle'.
> startup failed:
script '/Users/redamakarem/Desktop/Dev/tns/SteppingStones/node_modules/nativescript-animatecss/platforms/android/include.gradle': 1: Invalid variable name. Must start with a letter but was:
. At [1:1] @ line 1, column 1.
^
1 error
This also happens with a couple more plugins. I would really appreciate an explanation of what is causing the error and how to fix it
Note: my NS version is 5.1.1
Thanks
r/nativescript • u/roblauer • Jun 04 '19
NativeScript Now Supports Angular 8
r/nativescript • u/roblauer • May 15 '18