File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ - (void)getAuthCredentialWithPresentingViewController:(UIViewController *)viewCo
49
49
50
50
[ApplicationDelegate setOpenURLDelegate: self ];
51
51
[FBSDKSettings setAppID: kFacebookAppID ];
52
- [_loginManager logInWithReadPermissions : @[ @" email" ]
53
- fromViewController: viewController
54
- handler: ^(FBSDKLoginManagerLoginResult *result, NSError *error) {
52
+ [_loginManager logInWithPermissions : @[ @" email" ]
53
+ fromViewController: viewController
54
+ handler: ^(FBSDKLoginManagerLoginResult *result, NSError *error) {
55
55
[ApplicationDelegate setOpenURLDelegate: nil ];
56
56
if (!error && result.isCancelled ) {
57
57
error = [NSError errorWithDomain: @" com.google.FirebaseAuthSample" code: -1 userInfo: nil ];
Original file line number Diff line number Diff line change @@ -199,8 +199,9 @@ case "$product-$method-$platform" in
199
199
# Code Coverage collection is only working on iOS currently.
200
200
./scripts/collect_metrics.sh ' Example/Firebase.xcworkspace' " AllUnitTests_$platform "
201
201
202
- # Run integration tests (not allowed on PRs)
203
- if [ " $TRAVIS_PULL_REQUEST " == " false" ]; then
202
+ # Run integration tests (not allowed on forks)
203
+ if [[ " $TRAVIS_PULL_REQUEST " == " false" ||
204
+ " $TRAVIS_PULL_REQUEST_SLUG " == " $TRAVIS_REPO_SLUG " ]]; then
204
205
RunXcodebuild \
205
206
-workspace ' Example/Firebase.xcworkspace' \
206
207
-scheme " Auth_ApiTests" \
You can’t perform that action at this time.
0 commit comments