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

Ionic CLI Verifying each time my libraries version


ionFocus vs focus

$
0
0

You can try this:

var target = $event._native.nativeElement;

Or:

@HostListener('ionFocus', ['$event._native.nativeElement'])
onFocus(target) {
     console.log(target);
}

How can new object push into array ionic new

Is is possible to implement multi threading in ionic with bluetooth async communication

$
0
0

Despite appearances, JavaScript VMs really only have one thread of execution.

Can't display a base64 image like a thumbnail

$
0
0

Not sure if relevant, but you're asking the plugin to give you PNG, but then declaring in the URL that it's JPEG.

PositionError while using geolocation plugin on android device

Navigation doesn't work after updating to 3.5.0

$
0
0

If it was a general problem we would probably hear about this more often. I would suggest you create a new blank project (ionic start blank blank) and implement your navigation in there to see if it works as expected. If it does, something in your app is messing with something.

NavController cache problem

$
0
0

Shows us please, .length says otherwise.


Ionchange event not firing when boolean changed from false to true

$
0
0

Now I get it. The names were very confusing for me. I understand the problem now and find it very annoying. I can't find a way of making it work, besides:

export class HomePage {

  appName = 'Ionic App';
  private booleanFlag1: boolean = true;
  private booleanFlag2: boolean = false;
  i = 0;

  constructor(public navController: NavController) { }

  public toggleBoth(){
    this.booleanFlag1 = !this.booleanFlag1;
    this.booleanFlag2 = !this.booleanFlag2;
    if (this.i != 1) {
      this.i = 1;
      this.toggleToTrue ();
    }
  }

  toggleToFalse(){
    console.log('Fired toggleToFalse()');
  }

  toggleToTrue(){
    console.log('Fired toggleToTrue()');
  }
}

This works for me, the toggleToTrue() is getting triggered before toggleToFalse (), though.

Facebook Connect plugin question

$
0
0

I followed the Facebook plugin installation and usage here but was getting the error > Can't Load URL: The domain of this URL isn't included in the app's domains... After searching stackoverflow, I found I need to turn on Client, Web and Embedded Browser Ouath Logins and add localhost (my dev server) to Valid Oauth redirects. Curious why this wasn't mentioned in the plugin page when it seems to be necessary and not optional.

Offline map solution with follow user

$
0
0

If they offer a Cordova plugin (or you can develop one yourself) there is nothing from this working in Cordova/Ionic as well.

Cannot display contact's image using the contacts plugin

$
0
0

According to the plugin docs, you need to check the type attribute on photos. It's not guaranteed to be url. Might be base64 instead.

Save data string image to gallery in cordova app

$
0
0

Why aren't you using ionic-native here?

Cannot display contact's image using the contacts plugin

$
0
0

I didn't say I implemented a good solution, just a (accidentally) working one :wink:

You are of course right:

However, for the Contact photos field, the type field indicates the format of the returned image: url when the value attribute contains a URL to the photo image, or base64 when the value contains a base64-encoded image string.

I can not install local Notification and Cordova Toast plugin

$
0
0

Post your ionic info output please.


Navbar-Back Button not working in Android- IONIC2

$
0
0

having the same issue and have been searching the web. any solution to this yet

Android back button not working

$
0
0

same issue i'm having. i think it has to be a bug

External Website Nav back to App

$
0
0

You are using Ionic Creator?
How are you testing?

Push Plugin for ANDROID not working in prod mode, but works in dev mode

$
0
0

Show the console output of the non---prod run please.

Ion-option - why is it so difficult to style

$
0
0

Could you show a screenshot of what you are talking about please?

Viewing all 228535 articles
Browse latest View live


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