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

fix: update constraint for merchant view only if the constraint is active #54

Merged
merged 2 commits into from
Jun 4, 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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pod install
"devDependencies": {
....
},
"hyperSdkIOSVersion": "2.1.37"
"hyperSdkIOSVersion": "2.1.39"
....
}
```
Expand All @@ -65,7 +65,7 @@ Note: This version is just for explanatory purposes and may change in future. Co

#### **Dynamic Assets iOS**

Change the `hyperSdkIOSVersion` to `2.1.37` (This version is just for explanatory purposes and may change in future. Contact Juspay support team for the latest SDK version).
Change the `hyperSdkIOSVersion` to `2.1.39` (This version is just for explanatory purposes and may change in future. Contact Juspay support team for the latest SDK version).

Add below post_install script in the Podfile

Expand Down
2 changes: 1 addition & 1 deletion hyper-sdk-react.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'

hyper_sdk_version = "2.1.37"
hyper_sdk_version = "2.1.39"

begin
package_json_path = File.expand_path(File.join(__dir__, "../../package.json"))
Expand Down
4 changes: 2 additions & 2 deletions ios/HyperSdkReact.mm
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ @implementation SDKRootView

-(void)didMoveToSuperview {
// Remove old leading anchor
if (self.leading) {
if (self.leading.isActive) {
self.leading.active = @NO;
}
// Remove old trailing anchor
if (self.trailing) {
if (self.trailing.isActive) {
self.trailing.active = @NO;
}

Expand Down
Loading