Skip to content

Commit

Permalink
Update AmityUIKit v3.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zryte authored and Zryte committed Dec 22, 2023
1 parent 208cc20 commit b082a73
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 43 deletions.
8 changes: 4 additions & 4 deletions UpstraUIKit/AmityUIKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
78DA0323263C715C007C11CE /* AmityMyCommunityPreviewScreenViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 78DA031E263C715C007C11CE /* AmityMyCommunityPreviewScreenViewModel.swift */; };
78DA0324263C715C007C11CE /* AmityMyCommunityPreviewViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 78DA0320263C715C007C11CE /* AmityMyCommunityPreviewViewController.xib */; };
78DA0325263C715C007C11CE /* AmityMyCommunityPreviewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 78DA0321263C715C007C11CE /* AmityMyCommunityPreviewViewController.swift */; };
927EBD2B2B2B0CFF00575FA4 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 927EBD2A2B2B0CFF00575FA4 /* SharedFrameworks */; };
92B2CA1C2B35C24700489559 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 92B2CA1B2B35C24700489559 /* SharedFrameworks */; };
970E784726429FA500E5FCEE /* ChatSettingsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970E784526429FA500E5FCEE /* ChatSettingsTableViewCell.swift */; };
970E784826429FA500E5FCEE /* ChatSettingsTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 970E784626429FA500E5FCEE /* ChatSettingsTableViewCell.xib */; };
970E784E26429FB300E5FCEE /* AmityChatSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970E784C26429FB300E5FCEE /* AmityChatSettingsViewController.swift */; };
Expand Down Expand Up @@ -1309,7 +1309,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
927EBD2B2B2B0CFF00575FA4 /* SharedFrameworks in Frameworks */,
92B2CA1C2B35C24700489559 /* SharedFrameworks in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -4419,7 +4419,7 @@
);
name = AmityUIKit;
packageProductDependencies = (
927EBD2A2B2B0CFF00575FA4 /* SharedFrameworks */,
92B2CA1B2B35C24700489559 /* SharedFrameworks */,
);
productName = UpstraUIKit;
productReference = 72A3503024EA811500DA9D46 /* AmityUIKit.framework */;
Expand Down Expand Up @@ -5421,7 +5421,7 @@
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
927EBD2A2B2B0CFF00575FA4 /* SharedFrameworks */ = {
92B2CA1B2B35C24700489559 /* SharedFrameworks */ = {
isa = XCSwiftPackageProductDependency;
productName = SharedFrameworks;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
927EBD2D2B2B0D0600575FA4 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 927EBD2C2B2B0D0600575FA4 /* SharedFrameworks */; };
92B2CA1E2B35C25000489559 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 92B2CA1D2B35C25000489559 /* SharedFrameworks */; };
A0B68B3026E07278007D7B5B /* LiveStreamViewController+GoLive.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0B68B2F26E07278007D7B5B /* LiveStreamViewController+GoLive.swift */; };
A0B68B3626E07824007D7B5B /* AsyncOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0B68B3526E07824007D7B5B /* AsyncOperation.swift */; };
A0B68B3F26E07912007D7B5B /* CreatePost.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0B68B3E26E07912007D7B5B /* CreatePost.swift */; };
Expand Down Expand Up @@ -69,7 +69,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
927EBD2D2B2B0D0600575FA4 /* SharedFrameworks in Frameworks */,
92B2CA1E2B35C25000489559 /* SharedFrameworks in Frameworks */,
A0BD0B3426DDD9820054088B /* AmityUIKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -245,7 +245,7 @@
);
name = AmityUIKitLiveStream;
packageProductDependencies = (
927EBD2C2B2B0D0600575FA4 /* SharedFrameworks */,
92B2CA1D2B35C25000489559 /* SharedFrameworks */,
);
productName = AmityUIKitLiveStream;
productReference = A0BD0B1526DCE4F50054088B /* AmityUIKitLiveStream.framework */;
Expand Down Expand Up @@ -529,7 +529,7 @@
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
927EBD2C2B2B0D0600575FA4 /* SharedFrameworks */ = {
92B2CA1D2B35C25000489559 /* SharedFrameworks */ = {
isa = XCSwiftPackageProductDependency;
productName = SharedFrameworks;
};
Expand Down
16 changes: 8 additions & 8 deletions UpstraUIKit/SampleApp/SampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
729CAF3E273CC8ED000AE162 /* Binding+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 729CAF3D273CC8ED000AE162 /* Binding+Extension.swift */; };
729CAF42273CC95B000AE162 /* EndpointManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 729CAF41273CC95B000AE162 /* EndpointManager.swift */; };
72AACE0B273931F100E59D55 /* EndpointsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72AACE0A273931F100E59D55 /* EndpointsView.swift */; };
927EBD2F2B2B0D1300575FA4 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 927EBD2E2B2B0D1300575FA4 /* SharedFrameworks */; };
927EBD312B2B0D1D00575FA4 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 927EBD302B2B0D1D00575FA4 /* SharedFrameworks */; };
92B2CA202B35C25D00489559 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 92B2CA1F2B35C25D00489559 /* SharedFrameworks */; };
92B2CA222B35C26600489559 /* SharedFrameworks in Frameworks */ = {isa = PBXBuildFile; productRef = 92B2CA212B35C26600489559 /* SharedFrameworks */; };
92DBE8A62ACA98CF007D873C /* DataListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D495077325E637C1005C033F /* DataListViewController.swift */; };
92DBE8A72ACA98CF007D873C /* SamplePageViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 724C25F3274CE38B0058B066 /* SamplePageViewController.swift */; };
92DBE8A82ACA98CF007D873C /* PostCreatorSettingsPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = A03190A6272169C1008A85DC /* PostCreatorSettingsPage.swift */; };
Expand Down Expand Up @@ -228,7 +228,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
927EBD312B2B0D1D00575FA4 /* SharedFrameworks in Frameworks */,
92B2CA222B35C26600489559 /* SharedFrameworks in Frameworks */,
92DBE8CA2ACA98CF007D873C /* AmityUIKitLiveStream.framework in Frameworks */,
92DBE8D02ACA98CF007D873C /* FirebaseCrashlytics in Frameworks */,
92DBE8D22ACA98CF007D873C /* AmityUIKit.framework in Frameworks */,
Expand All @@ -241,7 +241,7 @@
files = (
A0BD0B4826DDE0E30054088B /* AmityUIKitLiveStream.framework in Frameworks */,
D478D16926240A5E006EA140 /* AmityUIKit.framework in Frameworks */,
927EBD2F2B2B0D1300575FA4 /* SharedFrameworks in Frameworks */,
92B2CA202B35C25D00489559 /* SharedFrameworks in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -537,7 +537,7 @@
name = SampleAppDistribution;
packageProductDependencies = (
92DBE8A32ACA98CF007D873C /* FirebaseCrashlytics */,
927EBD302B2B0D1D00575FA4 /* SharedFrameworks */,
92B2CA212B35C26600489559 /* SharedFrameworks */,
);
productName = SampleApp;
productReference = 92DBE8E92ACA98CF007D873C /* SampleAppDistribution.app */;
Expand All @@ -558,7 +558,7 @@
);
name = SampleApp;
packageProductDependencies = (
927EBD2E2B2B0D1300575FA4 /* SharedFrameworks */,
92B2CA1F2B35C25D00489559 /* SharedFrameworks */,
);
productName = SampleApp;
productReference = B78DA47524BED7D300EE902B /* SampleApp.app */;
Expand Down Expand Up @@ -1233,11 +1233,11 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
927EBD2E2B2B0D1300575FA4 /* SharedFrameworks */ = {
92B2CA1F2B35C25D00489559 /* SharedFrameworks */ = {
isa = XCSwiftPackageProductDependency;
productName = SharedFrameworks;
};
927EBD302B2B0D1D00575FA4 /* SharedFrameworks */ = {
92B2CA212B35C26600489559 /* SharedFrameworks */ = {
isa = XCSwiftPackageProductDependency;
productName = SharedFrameworks;
};
Expand Down
2 changes: 1 addition & 1 deletion UpstraUIKit/SampleApp/SampleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>3.17.0</string>
<string>3.18.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
2 changes: 1 addition & 1 deletion UpstraUIKit/SampleApp/SampleAppTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>3.17.0</string>
<string>3.18.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion UpstraUIKit/SampleApp/SampleAppUITests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>3.17.0</string>
<string>3.18.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
20 changes: 10 additions & 10 deletions UpstraUIKit/SharedFrameworks/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,28 @@ let package = Package(
dependencies: []),
.binaryTarget(
name: "AmitySDK",
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.17.0/AmitySDK.xcframework.zip",
checksum: "ef4dc34c5c863febfaef73d9316356ba420ab35a489680791edd68e2cab57db3"
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.18.0/AmitySDK.xcframework.zip",
checksum: "6f3a9782ad42f29d404631b43ebb4ff0eb85e9c5d7bb071df0533bd8c0f937e3"
),
.binaryTarget(
name: "Realm",
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.17.0/Realm.xcframework.zip",
checksum: "650ecc463e4efd9b19b021880a312e0e3e2032bb96a5d10faad6b4330c4acbe2"
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.18.0/Realm.xcframework.zip",
checksum: "1821324b56dab36494b54eacb8e1004a29cf06092fc86dea91b9d750fdc74dfc"
),
.binaryTarget(
name: "RealmSwift",
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.17.0/RealmSwift.xcframework.zip",
checksum: "6a1c33e33cc4ebbe70b1cad06020949b4f2f298157b3ca30bfe727a9d394dd45"
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.18.0/RealmSwift.xcframework.zip",
checksum: "ea9093200a2865a021111edb1d9017a479e775bf471a6a7b78912d3ce25bb761"
),
.binaryTarget(
name: "AmityLiveVideoBroadcastKit",
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.17.0/AmityLiveVideoBroadcastKit.xcframework.zip",
checksum: "1e22e024412f42e41b40f4cb73266f3a9f9c9d3618ba71bb3fc097c330d02e80"
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.18.0/AmityLiveVideoBroadcastKit.xcframework.zip",
checksum: "fc2777f0baaf69c6ad8434e46bc7f2addb672897c71769ee992147b32d3d582b"
),
.binaryTarget(
name: "AmityVideoPlayerKit",
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.17.0/AmityVideoPlayerKit.xcframework.zip",
checksum: "d7cf263462ba431b5d69615a6eeae224313c0a60423a301a03ec9005c0f5cdb4"
url: "https://sdk.amity.co/sdk-release/ios-uikit-frameworks/3.18.0/AmityVideoPlayerKit.xcframework.zip",
checksum: "738693a4de03f8fcdafa63c2831fe97096dbfbf295df21792b002c34ef89ebd3"
),
.binaryTarget(
name: "MobileVLCKit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleDataTransport.git",
"state" : {
"revision" : "aae45a320fd0d11811820335b1eabc8753902a40",
"version" : "9.2.5"
"revision" : "a732a4b47f59e4f725a2ea10f0c77e93a7131117",
"version" : "9.3.0"
}
},
{
"identity" : "googleutilities",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleUtilities.git",
"state" : {
"revision" : "c38ce365d77b04a9a300c31061c5227589e5597b",
"version" : "7.11.5"
"revision" : "bc27fad73504f3d4af235de451f02ee22586ebd3",
"version" : "7.12.1"
}
},
{
Expand All @@ -59,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/gtm-session-fetcher.git",
"state" : {
"revision" : "d415594121c9e8a4f9d79cecee0965cf35e74dbd",
"version" : "3.1.1"
"revision" : "115f75e43851774934d695449a4836123c3246e1",
"version" : "3.2.0"
}
},
{
Expand All @@ -77,8 +77,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/leveldb.git",
"state" : {
"revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
"version" : "1.22.2"
"revision" : "9d108e9112aa1d65ce508facf804674546116d9c",
"version" : "1.22.3"
}
},
{
Expand All @@ -104,8 +104,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-protobuf.git",
"state" : {
"revision" : "cf62cdaea48b77f1a631e5cb3aeda6047c2cba1d",
"version" : "1.23.0"
"revision" : "65e8f29b2d63c4e38e736b25c27b83e012159be8",
"version" : "1.25.2"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion UpstraUIKit/UpstraUIKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>3.17.0</string>
<string>3.18.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,12 @@ class AmityUserProfileEditorScreenViewModel: AmityUserProfileEditorScreenViewMod
dispatchGroup.enter()
fileRepository.uploadImage(avatar, progress: nil) { [weak self] (imageData, error) in
guard let self = self else { return }
self.amityUserUpdateBuilder.setAvatar(imageData)
AmityUIKitManagerInternal.shared.client.updateUser(self.amityUserUpdateBuilder) { [weak self] success, error in

let userUpdateBuilder = AmityUserUpdateBuilder()
userUpdateBuilder.setAvatar(imageData)


AmityUIKitManagerInternal.shared.client.updateUser(userUpdateBuilder) { [weak self] success, error in
if success {
self?.dispatchGroup.leave()
} else {
Expand Down
2 changes: 1 addition & 1 deletion UpstraUIKit/UpstraUIKitTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>3.17.0</string>
<string>3.18.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down

0 comments on commit b082a73

Please sign in to comment.