VolumeSlider icon indicating copy to clipboard operation
VolumeSlider copied to clipboard

iOS 7 Airplay Bug?

Open wootwoot1234 opened this issue 12 years ago • 6 comments

I found a bug changes the width of the volume slider and slides it to the left. Also, the slider doesn't work correctly when the volume is all the way up and when you tap the right side of the slider, a select menu popups up listing the available airplay devices. To reproduce, you need to have airplay devices on your network then load an app using the volume slider plugin.

wootwoot1234 avatar Sep 19 '13 00:09 wootwoot1234

I have yet to attempt to update this for iOS (or even for PhoneGap/Cordova 3.x.x).

It might be an easy fix, I will try and have a look soon.

devgeeks avatar Sep 19 '13 01:09 devgeeks

Cool. Thanks.

I'm having trouble reproducing the bug. When it does show up, the select menu has two options "iPhone" and "iPhone Speaker". Not sure if that's airplay or not.

wootwoot1234 avatar Sep 19 '13 03:09 wootwoot1234

Hi I'm having a problem on iOS7/cordova 3.4.1 when I try to hide a slider.

ginsleepy avatar Apr 22 '14 06:04 ginsleepy

I get this THREAD WARNING: ['VolumeSlider'] took '72.870850' ms. Plugin should use a background thread. I don't know if what is causing a problem.

ginsleepy avatar Apr 22 '14 06:04 ginsleepy

Sorry I just found out that I was posting in a wrong thread.. Anyhow, this method worked fine on both showing and hiding. thanks :) cordova.exec(null, null, "VolumeSlider","showVolumeSlider", []);

ginsleepy avatar Apr 22 '14 07:04 ginsleepy

Hi guys,

Sorry if i'm bringing up an old thread but i'm facing the same issue and have some insight about it. WootWoot's problem is probably because his volume slider is on a white background. A white image to the right of the slider shows a Airplay button, that's why, if you press it, a pop-up appears. And ofcourse a white image on a white background won't be visible.. Now is my question, is it possible to disable the airplay icon altogether? Even if a airplay compatible device is on the same network? I'm looking into it myself but maybe you have quick solution.

Thanks

EDIT: possible solution is to add the next line to VolumeSlider.m above r. 70:

self.myVolumeView.showsRouteButton = NO;

Maybe make this an option through the JS?

vjanssens avatar Mar 02 '15 08:03 vjanssens