Skip to content

Commit

Permalink
fix: [Auth] Make stream non optional type
Browse files Browse the repository at this point in the history
  • Loading branch information
fummicc1 committed Oct 20, 2024
1 parent 8947164 commit 85cb64b
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 155 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objectVersion = 60;
objects = {

/* Begin PBXBuildFile section */
D31E33C0278B0A610037BDEF /* BoardApplicationApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = D31E33BF278B0A610037BDEF /* BoardApplicationApp.swift */; };
D31E33C2278B0A610037BDEF /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D31E33C1278B0A610037BDEF /* ContentView.swift */; };
D31E33C4278B0A630037BDEF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D31E33C3278B0A630037BDEF /* Assets.xcassets */; };
D31E33C7278B0A630037BDEF /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D31E33C6278B0A630037BDEF /* Preview Assets.xcassets */; };
D31E33CF278B0B490037BDEF /* EasyFirebaseSwift in Frameworks */ = {isa = PBXBuildFile; productRef = D31E33CE278B0B490037BDEF /* EasyFirebaseSwift */; };
D31E33D1278B0CB90037BDEF /* Model.swift in Sources */ = {isa = PBXBuildFile; fileRef = D31E33D0278B0CB90037BDEF /* Model.swift */; };
D31E33D3278B0D380037BDEF /* Message.swift in Sources */ = {isa = PBXBuildFile; fileRef = D31E33D2278B0D380037BDEF /* Message.swift */; };
D31E33D5278B13960037BDEF /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D31E33D4278B13960037BDEF /* GoogleService-Info.plist */; };
D3A38E0E2CB97526000B7EE1 /* EasyFirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = D3A38E0D2CB97526000B7EE1 /* EasyFirebaseAuth */; };
D3A38E102CB97526000B7EE1 /* EasyFirebaseFirestore in Frameworks */ = {isa = PBXBuildFile; productRef = D3A38E0F2CB97526000B7EE1 /* EasyFirebaseFirestore */; };
D3A38E122CB97526000B7EE1 /* EasyFirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = D3A38E112CB97526000B7EE1 /* EasyFirebaseStorage */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -33,7 +35,9 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D31E33CF278B0B490037BDEF /* EasyFirebaseSwift in Frameworks */,
D3A38E0E2CB97526000B7EE1 /* EasyFirebaseAuth in Frameworks */,
D3A38E122CB97526000B7EE1 /* EasyFirebaseStorage in Frameworks */,
D3A38E102CB97526000B7EE1 /* EasyFirebaseFirestore in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -95,7 +99,9 @@
);
name = BoardApplication;
packageProductDependencies = (
D31E33CE278B0B490037BDEF /* EasyFirebaseSwift */,
D3A38E0D2CB97526000B7EE1 /* EasyFirebaseAuth */,
D3A38E0F2CB97526000B7EE1 /* EasyFirebaseFirestore */,
D3A38E112CB97526000B7EE1 /* EasyFirebaseStorage */,
);
productName = BoardApplication;
productReference = D31E33BC278B0A610037BDEF /* BoardApplication.app */;
Expand Down Expand Up @@ -126,7 +132,7 @@
);
mainGroup = D31E33B3278B0A610037BDEF;
packageReferences = (
D31E33CD278B0B490037BDEF /* XCRemoteSwiftPackageReference "EasyFirebaseSwift" */,
D3A38E0C2CB97526000B7EE1 /* XCLocalSwiftPackageReference "../../../../EasyFirebaseSwift" */,
);
productRefGroup = D31E33BD278B0A610037BDEF /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -289,7 +295,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"BoardApplication/Preview Content\"";
DEVELOPMENT_TEAM = 2X6AD4W323;
DEVELOPMENT_TEAM = S8WBNKMKYU;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
Expand Down Expand Up @@ -319,7 +325,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"BoardApplication/Preview Content\"";
DEVELOPMENT_TEAM = 2X6AD4W323;
DEVELOPMENT_TEAM = S8WBNKMKYU;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
Expand Down Expand Up @@ -364,22 +370,25 @@
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
D31E33CD278B0B490037BDEF /* XCRemoteSwiftPackageReference "EasyFirebaseSwift" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/fummicc1/EasyFirebaseSwift";
requirement = {
branch = feature/fix_property;
kind = branch;
};
/* Begin XCLocalSwiftPackageReference section */
D3A38E0C2CB97526000B7EE1 /* XCLocalSwiftPackageReference "../../../../EasyFirebaseSwift" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = ../../../../EasyFirebaseSwift;
};
/* End XCRemoteSwiftPackageReference section */
/* End XCLocalSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
D31E33CE278B0B490037BDEF /* EasyFirebaseSwift */ = {
D3A38E0D2CB97526000B7EE1 /* EasyFirebaseAuth */ = {
isa = XCSwiftPackageProductDependency;
productName = EasyFirebaseAuth;
};
D3A38E0F2CB97526000B7EE1 /* EasyFirebaseFirestore */ = {
isa = XCSwiftPackageProductDependency;
productName = EasyFirebaseFirestore;
};
D3A38E112CB97526000B7EE1 /* EasyFirebaseStorage */ = {
isa = XCSwiftPackageProductDependency;
package = D31E33CD278B0B490037BDEF /* XCRemoteSwiftPackageReference "EasyFirebaseSwift" */;
productName = EasyFirebaseSwift;
productName = EasyFirebaseStorage;
};
/* End XCSwiftPackageProductDependency section */
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,124 +1,123 @@
{
"object": {
"pins": [
{
"package": "abseil",
"repositoryURL": "https://github.com/firebase/abseil-cpp-SwiftPM.git",
"state": {
"branch": null,
"revision": "fffc3c2729be5747390ad02d5100291a0d9ad26a",
"version": "0.20200225.4"
}
},
{
"package": "BoringSSL-GRPC",
"repositoryURL": "https://github.com/firebase/boringssl-SwiftPM.git",
"state": {
"branch": null,
"revision": "734a8247442fde37df4364c21f6a0085b6a36728",
"version": "0.7.2"
}
},
{
"package": "EasyFirebaseSwift",
"repositoryURL": "https://github.com/fummicc1/EasyFirebaseSwift",
"state": {
"branch": "feature/fix_property",
"revision": "4bceafbcc0816389ffdac5d2280e521fa3720b15",
"version": null
}
},
{
"package": "Firebase",
"repositoryURL": "https://github.com/firebase/firebase-ios-sdk",
"state": {
"branch": null,
"revision": "08686f04881483d2bc098b2696e674c0ba135e47",
"version": "8.10.0"
}
},
{
"package": "GoogleAppMeasurement",
"repositoryURL": "https://github.com/google/GoogleAppMeasurement.git",
"state": {
"branch": null,
"revision": "9b2f6aca5b4685c45f9f5481f19bee8e7982c538",
"version": "8.9.1"
}
},
{
"package": "GoogleDataTransport",
"repositoryURL": "https://github.com/google/GoogleDataTransport.git",
"state": {
"branch": null,
"revision": "15ccdfd25ac55b9239b82809531ff26605e7556e",
"version": "9.1.2"
}
},
{
"package": "GoogleUtilities",
"repositoryURL": "https://github.com/google/GoogleUtilities.git",
"state": {
"branch": null,
"revision": "b3bb0c5551fb3f80ca939829639ab5b093edd14f",
"version": "7.7.0"
}
},
{
"package": "gRPC",
"repositoryURL": "https://github.com/firebase/grpc-SwiftPM.git",
"state": {
"branch": null,
"revision": "fb405dd2c7901485f7e158b24e3a0a47e4efd8b5",
"version": "1.28.4"
}
},
{
"package": "GTMSessionFetcher",
"repositoryURL": "https://github.com/google/gtm-session-fetcher.git",
"state": {
"branch": null,
"revision": "bc6a19702ac76ac4e488b68148710eb815f9bc56",
"version": "1.7.0"
}
},
{
"package": "leveldb",
"repositoryURL": "https://github.com/firebase/leveldb.git",
"state": {
"branch": null,
"revision": "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
"version": "1.22.2"
}
},
{
"package": "nanopb",
"repositoryURL": "https://github.com/firebase/nanopb.git",
"state": {
"branch": null,
"revision": "7ee9ef9f627d85cbe1b8c4f49a3ed26eed216c77",
"version": "2.30908.0"
}
},
{
"package": "Promises",
"repositoryURL": "https://github.com/google/promises.git",
"state": {
"branch": null,
"revision": "611337c330350c9c1823ad6d671e7f936af5ee13",
"version": "2.0.0"
}
},
{
"package": "SwiftProtobuf",
"repositoryURL": "https://github.com/apple/swift-protobuf.git",
"state": {
"branch": null,
"revision": "7e2c5f3cbbeea68e004915e3a8961e20bd11d824",
"version": "1.18.0"
}
"originHash" : "012ca0c5bc83f92a514b00387cb75910945effabdc7a099ca8b2a185bbe34d76",
"pins" : [
{
"identity" : "abseil-cpp-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/abseil-cpp-binary.git",
"state" : {
"revision" : "194a6706acbd25e4ef639bcaddea16e8758a3e27",
"version" : "1.2024011602.0"
}
]
},
"version": 1
},
{
"identity" : "app-check",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/app-check.git",
"state" : {
"revision" : "3b62f154d00019ae29a71e9738800bb6f18b236d",
"version" : "10.19.2"
}
},
{
"identity" : "firebase-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/firebase-ios-sdk",
"state" : {
"revision" : "eca84fd638116dd6adb633b5a3f31cc7befcbb7d",
"version" : "10.29.0"
}
},
{
"identity" : "googleappmeasurement",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleAppMeasurement.git",
"state" : {
"revision" : "fe727587518729046fc1465625b9afd80b5ab361",
"version" : "10.28.0"
}
},
{
"identity" : "googledatatransport",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleDataTransport.git",
"state" : {
"revision" : "a637d318ae7ae246b02d7305121275bc75ed5565",
"version" : "9.4.0"
}
},
{
"identity" : "googleutilities",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleUtilities.git",
"state" : {
"revision" : "57a1d307f42df690fdef2637f3e5b776da02aad6",
"version" : "7.13.3"
}
},
{
"identity" : "grpc-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/grpc-binary.git",
"state" : {
"revision" : "e9fad491d0673bdda7063a0341fb6b47a30c5359",
"version" : "1.62.2"
}
},
{
"identity" : "gtm-session-fetcher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/gtm-session-fetcher.git",
"state" : {
"revision" : "a2ab612cb980066ee56d90d60d8462992c07f24b",
"version" : "3.5.0"
}
},
{
"identity" : "interop-ios-for-google-sdks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/interop-ios-for-google-sdks.git",
"state" : {
"revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
"version" : "100.0.0"
}
},
{
"identity" : "leveldb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/leveldb.git",
"state" : {
"revision" : "a0bc79961d7be727d258d33d5a6b2f1023270ba1",
"version" : "1.22.5"
}
},
{
"identity" : "nanopb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/nanopb.git",
"state" : {
"revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1",
"version" : "2.30910.0"
}
},
{
"identity" : "promises",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/promises.git",
"state" : {
"revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac",
"version" : "2.4.0"
}
},
{
"identity" : "swift-protobuf",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-protobuf.git",
"state" : {
"revision" : "ebc7251dd5b37f627c93698e4374084d98409633",
"version" : "1.28.2"
}
}
],
"version" : 3
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Model: ObservableObject {
sender: nickName
)
do {
try await firestoreClient.create(newMessage)
try await firestoreClient.write(newMessage)
newMessageText = ""
} catch {
print(error)
Expand Down
Loading

0 comments on commit 85cb64b

Please sign in to comment.