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

.ipa files created by Ionic Pro CI cannot be uploaded to the App Store

$
0
0

Anyone have a solution to this problem. I’m blocked. :cry:


Vibration no provider in app.module.ts

Ionic 4.6 - Carbon

How to update message of LoadingController in ionic4?

$
0
0

Hello

I have exactly the same problem and I searched for a while. Did you find a solution? Or have you workaround?

Thanks for your answer.

Moving from jQuery Mobile to Ionic v4

$
0
0

Does anyone have any examples of v4 ion-router and ion-nav using the plain vanilla js method? It appears the online help for v4 does not include any examples. Thanks!

Help with my project ionic1 its so basic but i have issues about http.post and json data

$
0
0

Hi guys, i have very basic project that i must be finish in two days but i have some issues.

My ControllerJs Code;

$scope.dataBack={};

$scope.calculate = function(a,b){
console.log("Start: "+ a, "Finish: "+ b);

 $http.post('https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins='+a+'&destinations='+b+'&mode=driving&departure_time=now&traffic_model=optimistic&key=AIzaSyD4Q7mPb9XhS5i0KvgsCfi-ahKB-rooqOI')
.then(function(data){$scope.dataBack = data;
});

};

The question is, there is Google APİ above as you can see and ı want to take a single data from this APİ.
This api turns JSON back.ım trying to reach a “value” data of this JSON but ı cant.

ım coding like ;
console.log($scope.dataBack.rows[0].elements[0].duration_in_traffic.value);

but it turns back error about tha code above.

How am i suppose to do the JSON convert part? I think the problem is about JSON.
Please help me thanks.

EDİT: Btw the output of link is something like that;

{
   "destination_addresses" : [ "Rize, Rize Merkez/Rize, Türkiye" ],
   "origin_addresses" : [ "Ordu, Türkiye" ],
   "rows" : [
      {
         "elements" : [
            {
               "distance" : {
                  "text" : "204 mil",
                  "value" : 328881
               },
               "duration" : {
                  "text" : "4 saat 48 dakika",
                  "value" : 17270
               },
               "duration_in_traffic" : {
                  "text" : "4 saat 32 dakika",
                  "value" : 16315
               },
               "status" : "OK"
            }
         ]
      }
   ],
   "status" : "OK"
}

Ionic 4 Style changes for shadow elements

$
0
0

Does @danielmm1997’s idea above still work? I am trying to modify the font-size of the ion-icon used in the ion-menu-button,

I added his code but not sure what “helper” refers to.

I have this:

  ngOnInit() {
    this.addShadowElementsStyle('ion-icon', '{ font-size:40px; }');
  }

but it has no effect.

Audio Streaming Question

$
0
0

I am trying to add audio streaming player automatically. When the app is open, the radio player should play. Do you know how can I do that in ionic 4?

I followed this example


Build Break with aapt error message . why?

$
0
0

thanks man you saved my life it’s been a while that i was locking to a solution to this error i realy waste lot of time , thank you man :ok_hand:

Moving from jQuery Mobile to Ionic v4

$
0
0

You should be able to change the platform on the left hand side of the documentation site to JavaScript.

I used JQM at first. Have been using Ionic since v3 and haven’t looked back. You won’t, either.

[Ionic V4] It's hard to style Ionic web component, doesn't it?

$
0
0

Wow. I also have a production app that I am trying to upgrade to V4 and it has been an ABSOLUTE NIGHTMARE. Nothing works properly. Simple styling is horribly complicated. I have read all of the documentation, and simple things like setting a bg image to a page is taking forever. I cant imagine this framework is going to last long. Going to be looking into alternatives. Too bad, because V3 was amazing.

Can someone help ?! ionic 1.3.3 on iOS 12 with error: not set for url='unsafe:ionic://localhost%23/menu/aboutUs'

$
0
0

Yes, I’ve solved this problem, check the following:
in some html template, there is some like this

<ion-item class="item-icon-right" menu-close href="#/example">

just change that to:

<ion-item class="item-icon-right" menu-close ui-sref="#/example">

it works for me.

Je n'arrive pas a afficher mes données sur ma page mais dans la console sa marche deja

$
0
0

Bonjour et desole du temps de reponse.
Je voulais te repondre depuis un moment mais mon compte avait ete bloque automatiquement juste apres mon inscription.

Bref !
Premierement, ce serait sympa que tu mette ton code en forme en utilisant : 02 car ca ne donne pas envie de te repondre.

Ensuite ton {{item.title}} tu le sors d’ou ?
Je ne vois de variable item nul par !

Serait il possible d’avoir le code HTML en entier ?

Dismiss a LoadingController

$
0
0

tried everthing, the loader.dismiss after error are not even dismissed, and triggers an error of undefined…

How to build ionic app for ios

$
0
0

am building an ionic app when i try to run on xcode,the app runs but stops after splashscreen.Please help me with this.


How to delete contact using cordova-plugin-contacts

Dismiss a LoadingController

$
0
0

so can you share your code if its not working. I can dismiss it without issues. Sometimes you need to be careful to call .dismiss() only after the indicator fully loaded. But it works fine.

Dismiss a LoadingController

$
0
0

For the issue when after error its not dismissing - good practice is to call .dismiss from within your error handler.

HTTP Post Request

$
0
0

Thanks for replying, I was solved it with another way!

[Ionic V4] It's hard to style Ionic web component, doesn't it?

$
0
0

Hey dude, post exact issues here or in stackoverflow. I hear your pain, just went through migration as well. But a lot of issues can be resolved actually. Just takes time. Feel free to ping me on questions you need answered!

Viewing all 228535 articles
Browse latest View live


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