Comments (9)
We noticed this, too. Our interim solution was just to run the the network activity indicator during the entire login process, but that's not a great user experience either.
If you want to get fancy, you might be able to grab that login dialog's webview delegate and observe the requests as they go by, indicating network activity as appropriate.
Because this is all being handled in the webview, the spinner would ideally be handled by the web content itself.
from facebook-ios-sdk.
Thanks jparise for the reply. Yes, the best way is handled by the web content. I will file a task on our side to see if we can add that.
from facebook-ios-sdk.
Also you need to add
[self bringSubviewToFront:_spinner];
after
[self addSubview:_spinner];
or else the spinner wont show.
from facebook-ios-sdk.
FBDialog.m is missing a webView delegate and the activity indicator should be gray, not white:
- (void)webViewDidStartLoad:(UIWebView *)webView {
[_spinner startAnimating];
}
from facebook-ios-sdk.
FB Task #390469
from facebook-ios-sdk.
Note: there's a pull request for a fix in issue #93
from facebook-ios-sdk.
On slow connections this is really noticeable. Would be nice to have this usability issue resolved.
from facebook-ios-sdk.
We'd really like this fixed too. Whenever we do app usability tests, this problem is always highlighted; pretty much every user will hit the login button, see that nothing seems to have changed and so hit the login button again, still see no change and then look up looking confused.
It would be greatly appreciated if Facebook could fix this issue asap
from facebook-ios-sdk.
This issue was raised against a previous version of the Facebook SDK for iOS.
In 2012, the SDK had a significant rewrite and relaunch, and we are closing issues and pull requests that predate that v3.0 release.
If you are still experiencing this issue, please raise a new issue with repro steps in the supported SDK (currently v3.10). For more information, please see our iOS developer center at https://developers.facebook.com/docs/ios/
Many thanks for using the Facebook Platform, and your support of this project.
from facebook-ios-sdk.
Related Issues (20)
- The app terminates while unresponsive
- Xcode 15 warnings HOT 4
- Xcode 15 linker warnings HOT 1
- Feature Request: visionOS support
- Xcode 15 - duplicate
- Command `pod install` failed - Cause: Error installing FBAudienceNetwork
- Feature Request: Support App Privacy Manifest
- Not able to add facebook-ios-sdk
- Sharing photos to Facebook doesn't work HOT 1
- Invalid bundle structure - Error when validating app in Xcode HOT 1
- Crash on Xcode 15 with iOS 14 HOT 4
- Crashed FBSDKViewHierarchy.m [FBSDKViewHierarchy recursiveGetLabelsFromView:]
- v16.2.0 has not updated the remote binary url for the remote target from v16.1.3 HOT 2
- Reference links at https://developers.facebook.com/docs/ios/reference_obj-c not working (404 or white pages)
- Crash on iOS 13 when archive using Facebook SDK version 16.2.0
- Facebook app is crashing when opened by ShareDialog using sdk 16.2.0 or 16.2.1 HOT 1
- App is crashing with issue [FBSDKBasicUtility _convertObjectToJSONObject:invalidObjectHandler:stop:]
- Facbook iOS Crash on iOS 14.7.1 HOT 2
- Share Photo to Facebook Not working | Copy pasting in "Share something about this photo..."
- Maruf Hossen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-ios-sdk.