mobimentum / phonegap-plugin-loading-spinner

PhoneGap 3 plugin to show a loading spinner with optional dark overlay.
Apache License 2.0
22 stars 26 forks source link

InAppBrowser #2

Open tonkpills opened 10 years ago

tonkpills commented 10 years ago

Spinner doesn't display when InAppBrowser is active.

mauriziopinotti commented 10 years ago

hello,

on which platform did you experience the issue?

Regards, Maurizio

donniemceduns commented 10 years ago

Hello, Awesome plugin. Please how do i remove the overlay.

mauriziopinotti commented 10 years ago

Hello Donniemceduns,

it's not yet implemented (although stated in the README), please file a new issue with the feature request if you think it's useful.

Thanks, Maurizio

tonkpills commented 10 years ago

Apologies it is iOS. Also I noticed that another user says it doesn't work with PhoneGap Build, but I'm having no issues with it on it.

wesson818 commented 10 years ago

Just not working for me. I am working on iOS SDK7, and it's not showing when I called. Could you please put an example somewhere? I can download yours and try. Many thanks...

bau720123 commented 10 years ago

I have the same problem with @tonkpills and @wesson818 Android work well,but ios is not work

superandrew commented 10 years ago

please provide some debugging information. The problem is in pg:build? or in local deployment? Any error?

bau720123 commented 10 years ago

to @superandrew I am using phonegap build 3.3 (build.phonegap.com) with your latest plugin 1.01

tonkpills commented 10 years ago

This might help, my issue was when the spinner shown it worked on the main webview but when the InAppBrowser was active it didn't work. If the spinner was active when the InAppBrowser was active then the InAppBrowser was closed the spinner would show. It seams to be behind the InAppBrowser WebView.

herkyl commented 10 years ago

Getting the same issue, also using InAppBrowser

drubular commented 10 years ago

I know this is an older thread but thought this might help.

Goto CDVInAppBrowser.m and change this line (around line 500): self.spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite]; to: self.spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];

and change this line: self.spinner.frame = CGRectMake(454.0, 231.0, 20.0, 20.0); to: self.spinner.frame = CGRectMake(self.view.frame.size.width / 2 - 10, self.view.frame.size.height/ 2 - 10, 20, 20);