-
-
Notifications
You must be signed in to change notification settings - Fork 125
fix(authentication): Bad accessToken
when signing in via Facebook under iOS
#843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nder iOS Replace classic facebook login with limited login.
…nder iOS Generate changeset.
…nder iOS Add definitions for app transparency methods.
…nder iOS Implement app transparency methods on ios.
…nder iOS Update changeset.
@capacitor-firebase/analytics
@capacitor-firebase/app
@capacitor-firebase/app-check
@capacitor-firebase/authentication
@capacitor-firebase/crashlytics
@capacitor-firebase/firestore
@capacitor-firebase/functions
@capacitor-firebase/messaging
@capacitor-firebase/performance
@capacitor-firebase/remote-config
@capacitor-firebase/storage
commit: |
…nder iOS Add logic to handle both classic and limited login.
…nder iOS Add docs to use classic facebook login.
packages/authentication/ios/Plugin/FirebaseAuthentication.swift
Outdated
Show resolved
Hide resolved
...authentication/ios/Plugin/Classes/Results/CheckAppTrackingTransparencyPermissionResult.swift
Outdated
Show resolved
Hide resolved
…nder iOS Return status with request app tracking call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last changes 🤞
...authentication/ios/Plugin/Classes/Results/CheckAppTrackingTransparencyPermissionResult.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR addresses an issue with a bad accessToken when signing in via Facebook on iOS by updating the signInWithFacebook API and adding support for Facebook Limited Login. It also introduces two new methods (checkAppTrackingTransparencyPermission and requestAppTrackingTransparencyPermission) to handle app tracking transparency on iOS, along with necessary documentation, type definitions, and platform-specific implementations.
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
packages/authentication/README.md | Updated signInWithFacebook signature and added documentation for the new iOS-specific APIs. |
.changeset/happy-oranges-rush.md | Added a changeset entry for the iOS feature supporting Facebook Limited Login. |
packages/authentication/docs/setup-facebook.md | Included instructions for setting NSUserTrackingUsageDescription in Info.plist. |
packages/authentication/src/definitions.ts | Updated method signatures and type definitions for tracking transparency APIs. |
packages/authentication/android/src/main/java/io/capawesome/capacitorjs/plugins/firebase/authentication/FirebaseAuthenticationPlugin.java | Added stub implementations for tracking transparency methods that reject calls on Android. |
packages/authentication/src/web.ts | Added stub implementations for tracking transparency methods that throw a not available error on web. |
…nder iOS Use restricted instead of prompt-with-rationale.
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run changeset
).Closes: #834