Skip to content
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

Remove FirebaseAppCheck module from Vertex AI sample app #12754

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
objects = {

/* Begin PBXBuildFile section */
868A33662BB476FA00304BB1 /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = 868A33652BB476FA00304BB1 /* FirebaseAppCheck */; };
868A33682BB476FA00304BB1 /* FirebaseVertexAI-Preview in Frameworks */ = {isa = PBXBuildFile; productRef = 868A33672BB476FA00304BB1 /* FirebaseVertexAI-Preview */; };
869200B32B879C4F00482873 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 869200B22B879C4F00482873 /* GoogleService-Info.plist */; };
86C1F4832BC726150026816F /* FunctionCallingScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86C1F47E2BC726150026816F /* FunctionCallingScreen.swift */; };
Expand Down Expand Up @@ -67,7 +66,6 @@
files = (
868A33682BB476FA00304BB1 /* FirebaseVertexAI-Preview in Frameworks */,
886F95D82B17BA420036F07A /* MarkdownUI in Frameworks */,
868A33662BB476FA00304BB1 /* FirebaseAppCheck in Frameworks */,
886F95E32B17D6630036F07A /* GenerativeAIUIComponents in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -294,7 +292,6 @@
packageProductDependencies = (
886F95D72B17BA420036F07A /* MarkdownUI */,
886F95E22B17D6630036F07A /* GenerativeAIUIComponents */,
868A33652BB476FA00304BB1 /* FirebaseAppCheck */,
868A33672BB476FA00304BB1 /* FirebaseVertexAI-Preview */,
);
productName = GenerativeAISample;
Expand Down Expand Up @@ -607,10 +604,6 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
868A33652BB476FA00304BB1 /* FirebaseAppCheck */ = {
isa = XCSwiftPackageProductDependency;
productName = FirebaseAppCheck;
};
868A33672BB476FA00304BB1 /* FirebaseVertexAI-Preview */ = {
isa = XCSwiftPackageProductDependency;
productName = "FirebaseVertexAI-Preview";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ import SwiftUI
@main
struct GenerativeAISampleApp: App {
init() {
// Recommendation: Protect your Vertex AI API resources from abuse by preventing unauthorized
// clients using App Check; see https://firebase.google.com/docs/app-check#get_started.

FirebaseApp.configure()

if let firebaseApp = FirebaseApp.app(), firebaseApp.options.projectID == "mockproject-1234" {
Expand Down
Loading