Skip to content

Commit fc0f8a4

Browse files
authored
Remove FirebaseAppCheck module from Vertex AI sample app (#12754)
1 parent c7784f5 commit fc0f8a4

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

FirebaseVertexAI/Sample/GenerativeAISample.xcodeproj/project.pbxproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
868A33662BB476FA00304BB1 /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = 868A33652BB476FA00304BB1 /* FirebaseAppCheck */; };
1110
868A33682BB476FA00304BB1 /* FirebaseVertexAI-Preview in Frameworks */ = {isa = PBXBuildFile; productRef = 868A33672BB476FA00304BB1 /* FirebaseVertexAI-Preview */; };
1211
869200B32B879C4F00482873 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 869200B22B879C4F00482873 /* GoogleService-Info.plist */; };
1312
86C1F4832BC726150026816F /* FunctionCallingScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86C1F47E2BC726150026816F /* FunctionCallingScreen.swift */; };
@@ -67,7 +66,6 @@
6766
files = (
6867
868A33682BB476FA00304BB1 /* FirebaseVertexAI-Preview in Frameworks */,
6968
886F95D82B17BA420036F07A /* MarkdownUI in Frameworks */,
70-
868A33662BB476FA00304BB1 /* FirebaseAppCheck in Frameworks */,
7169
886F95E32B17D6630036F07A /* GenerativeAIUIComponents in Frameworks */,
7270
);
7371
runOnlyForDeploymentPostprocessing = 0;
@@ -294,7 +292,6 @@
294292
packageProductDependencies = (
295293
886F95D72B17BA420036F07A /* MarkdownUI */,
296294
886F95E22B17D6630036F07A /* GenerativeAIUIComponents */,
297-
868A33652BB476FA00304BB1 /* FirebaseAppCheck */,
298295
868A33672BB476FA00304BB1 /* FirebaseVertexAI-Preview */,
299296
);
300297
productName = GenerativeAISample;
@@ -607,10 +604,6 @@
607604
/* End XCRemoteSwiftPackageReference section */
608605

609606
/* Begin XCSwiftPackageProductDependency section */
610-
868A33652BB476FA00304BB1 /* FirebaseAppCheck */ = {
611-
isa = XCSwiftPackageProductDependency;
612-
productName = FirebaseAppCheck;
613-
};
614607
868A33672BB476FA00304BB1 /* FirebaseVertexAI-Preview */ = {
615608
isa = XCSwiftPackageProductDependency;
616609
productName = "FirebaseVertexAI-Preview";

FirebaseVertexAI/Sample/GenerativeAISample/GenerativeAISampleApp.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ import SwiftUI
1818
@main
1919
struct GenerativeAISampleApp: App {
2020
init() {
21+
// Recommendation: Protect your Vertex AI API resources from abuse by preventing unauthorized
22+
// clients using App Check; see https://firebase.google.com/docs/app-check#get_started.
23+
2124
FirebaseApp.configure()
2225

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

0 commit comments

Comments
 (0)