Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228535 articles
Browse latest View live

Search only in component

$
0
0

I would suggest taking the time to go through the Tour of Heroes in order to get more of a feel for how Angular apps are structured.


TypeScript error: Ionic CLI 1.2.1, ionic-angular 2.0.0-beta.6

$
0
0

No because with the betas everything was different - Ionic, Angular and everything.

This has nothing to do with the error at all. That's just general npm and angular-cli - which didn't even exist back then.

Ionic error adding platform

$
0
0

Something between the command line and the servers. Proxy, censorship, etc.

Add platform ios failed for cordova-ios@3.9.2

$
0
0

You are on Windows, rm doesn't exist here.
The path you are looking for would be C:\Users\##Username##\.cordova

Error in Upgrading to V3: Type 'IterableDiffer' is not generic

$
0
0

Same as in 3.4.0:

"typescript": "2.3.4"


But it belongs in devDependencies.

You should clean the rest out a bit as well.

Ionic error adding platform

$
0
0

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Ionic Deploy - cordova.js not found after update

$
0
0

Download Charles Web Proxy for example.

But the folder exists?

The folder should be the extracted new version of the app. That's why I want you to look at the .zip and see if there is a cordova.js in there at all.

Item not found in VS 2017

$
0
0

Hi,
I just installed visual studio 2017. As instructed by getting started page. I went to online -> templates , and typed ionic in search box. instead of list of templates I get the following message "item not found".
has anyone had this problem before?


Looking for a way to measure distance for workout app

$
0
0

Hello
I am working on a workout app and I am looking for a way to allow users to set a distance (in km) for their activity (run/walk/...) and give a feedback during the activity.
What is the best way to achieve that?
Thanks!

Setting Phone's Media Volume

$
0
0

I can't believe there isn't more elegant way to handle this! I, like you, am not interested in controlling a specific stream/file but rather the device media volume itself. Please give me a shout if you did end up finding something!

Should I post this as an issue as there seems to be no fix

$
0
0

Cordova CLI: 7.0.1
Ionic Framework Version: 3.3.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.7
ios-deploy version: 1.9.1
ios-sim version: 6.0.0
Node Version: v6.9.1
Xcode version: Xcode 8.3.3 Build version 8E3004b

Tabs: programmatically remove the highlight after a push

$
0
0

I have a problem with two things in the previous post:

  • properties beginning with leading underscores are private and should not be accessed from outside
  • the NavController's parent property should be avoided as it leads to unreadable spaghetti

I would rethink the UI so that either the tabs accurately reflect the current state of affairs, or they are not visible at all.

Best way to implement list with toggles and sending it back to server

$
0
0

Aah...can do that? That came to my mind but wasn't sure because that "level" is going to be an object in the list. Thanks!

The other reason I didn't give it much thought or did not try it was because I wanted to set another flag "hasChanged" in that "level" object. This is because, it can be a big list and I don't want to send across the whole list back. Using the "hasChanged" flag I can just filter the list and send the filtered list back to server.
How can I achieve it if I go your route?

Thanks.

Looking for a way to measure distance for workout app

$
0
0

Why vague?
Think of the following usage:
James wants to go out and run 5 km. He should be able to set distance (5 km) press start and off he goes.
James would like to know when he passes half of the way (after 2.5 km some notification should be sent - probably some audio effect).

This is the second feature of my app.
The first was set time interval for the workout. For example, James can set a walk interval of 10 minutes or a run interval of 3 minutes. I wrote a basic timer for this feature but for the distance feature I need some help :slight_smile:

About the plugin you suggest. How do I install it? I don't see its documentation on ionic-native doc page.

Thank you for your help.

Best way to implement list with toggles and sending it back to server

$
0
0

Unless we're talking at least tens of thousands of items, I think worrying about this is premature optimization.

That being said, if you insist, you could use something like lodash's clone() method to prepare a "before" version of levelDetails, and then compare it to the "after" version modified by user actions at submission time to see which levels have changed.


Looking for a way to measure distance for workout app

Ionic cordova run android: error in opening zip file

Looking for a way to measure distance for workout app

$
0
0

Oh.
I searched in the wrong tab :blush:
Thank you, I will try it.

Best way to implement list with toggles and sending it back to server

$
0
0

@rapropos - there could be few hundreds.

Since you suggested the lodash approach, I am taking it for granted that my way of implementing it will be inefficient as compared to maintaining a copy of the original array using lodash's clone().

Thanks.

Vertical ion-range in ionic, how to?

$
0
0

Yeah, I would love a solution for this. Anybody had any luck making this work?

Viewing all 228535 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>