Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Working archiving for deployment. #3

Merged
merged 1 commit into from
May 28, 2011
Merged

Working archiving for deployment. #3

merged 1 commit into from
May 28, 2011

Conversation

blommegard
Copy link
Contributor

To be able to use proper archiving in Xcode for iOS deployment the INSTALL_PATH and PUBLIC_HEADERS_FOLDER_PATH have to be changed (none global).

zwaldowski added a commit that referenced this pull request May 28, 2011
Working archiving for deployment.
@zwaldowski zwaldowski merged commit 8b50e1c into BlocksKit:master May 28, 2011
@nicked nicked mentioned this pull request Jan 12, 2012
code-wolf pushed a commit to NOUSguide/BlocksKit that referenced this pull request Oct 21, 2016
Summary:
Currently when there is a Platform API call that has any error or if there is a
connection error, e.g. timeout, the access token is invalidated. This was due
to
diff D378197 where any errors call invalidSession. To fix this narrow the
invalidate call to the scenario where the access token has expired when an API
call
is made.

For now, only REST API error codes allow us to easily identify an invalid token
(error code 190). A separate diff will be implemented by the Platform team
to provide an error code for Graph API auth token errors.

Test Plan:
Case BlocksKit#1
1/ Login
2/ Tap Graph API
3/ Tap Get your friends
4/ Go off LAN and WiFi
5/ Tap Get your friends

Case BlocksKit#2
1/ Turn WiFi back on
2/ Tap Get your friends
3/ See friends list
4/ Go back to get to Graph API page
5/ Remove app from https://www.facebook.com/settings/?tab=applications
6/ Tap Get your friends

Case BlocksKit#3
1/ Temporarily modified code to force a Graph API error
     //[[delegate facebook] requestWithGraphPath:@"me" andParams:params
andDelegate:self];
     [[delegate facebook] requestWithGraphPath:@"000000" andParams:params
andDelegate:self];
2/ Tap Graph API
3/ Tap Get your information

Before this change, here were the results
Case BlocksKit#1: Session expires message, which is incorrect behavior
Case BlocksKit#2: Session expires message, which is correct behavior
Case BlocksKit#3: Session expires message, which is incorrect behavior

After this change, here are the results
Case BlocksKit#1: Get the Hackbook "Oops something went wrong" message, which is desired
behavior
Case BlocksKit#2: Get the Hackbook "Oops something went wrong" message, which is not
ideal, user should also be logged out
Case BlocksKit#3: Get the Hackbook "Oops something went wrong" message, which is desired
behavior

Reviewers: yariv, jimbru, brent, toddkrabach, jonathan

Reviewed By: yariv

CC: lshepard, selekman, beau, bgolub, danmuriello, jacl

Differential Revision: https://phabricator.fb.com/D402481

Revert Plan: OK

Task ID: 900407
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants