feat(plugin): add expo config plugin for google auth#4
Merged
sbaiahmed1 merged 3 commits intomainfrom Sep 21, 2025
Merged
Conversation
- Plugin setup with TypeScript - Configuration for iOS Info.plist and Android manifest - Client ID handling from Google services files - Workspace and package configuration updates
Reviewer's GuideThis PR introduces a TypeScript-based Expo Config Plugin for react-native-google-auth, wiring up native iOS and Android projects by copying Google config files, auto-detecting client IDs, and injecting URL schemes, GIDClientID keys and permissions via withInfoPlist and withAndroidManifest, alongside monorepo package and documentation updates for Expo integration. Sequence diagram for Expo plugin configuration processsequenceDiagram
participant Dev as actor Developer
participant Expo as "Expo CLI"
participant Plugin as "Config Plugin (withReactNativeGoogleAuth)"
participant Native as "Native Project (iOS/Android)"
Dev->>Expo: Run build (eas build, etc.)
Expo->>Plugin: Load config plugin with options
Plugin->>Native: Copy Google config files
Plugin->>Native: Inject client IDs and permissions
Native->>Plugin: Confirm configuration
Plugin->>Expo: Return configured project
Class diagram for Expo config plugin types and main entry pointclassDiagram
class GoogleAuthPluginOptions {
iosClientId: string
androidClientId: string
googleServicesFile: string
iosGoogleServicesFile: string
}
class withGoogleAuth {
+ConfigPlugin<GoogleAuthPluginOptions>
+copyFileWithErrorHandling()
+getIosClientIdFromPlist()
+getAndroidClientIdFromJson()
}
class withReactNativeGoogleAuth {
+ConfigPlugin<GoogleAuthPluginOptions>
}
withReactNativeGoogleAuth --> withGoogleAuth : uses
withGoogleAuth ..> GoogleAuthPluginOptions : options
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
- Automatic Info.plist setup for iOS - AndroidManifest.xml configuration - Google service files integration - Client ID validation - URL scheme handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes : #3