Can not show Staging View after using 2.0.44 version SDK
hanorz opened this issue · comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device and version:
- Device: [e.g. iPhone6]
- OS version: [e.g. iOS8.1]
- Klarna In-App SDK version 2.0.44
Merchant Name
Please state the merchant's name and the application's name that is facing the issue using the SDK.
Impact Level
What is the impact level of this bug on the merchant and its customers? Is it happening in production? Is it a blocking issue for development? etc.
Additional context
After using 2.0.44 version SDK, the tap action of the KlarnaOSMView was disable. Which
means it can not show the Staging view.
And I tried many times figured out the KlarnaOSMView only respond the small area in the picture.
Hi, @hanorz can you please share the device and OS that you are using for testing? On our end, the label with the underline works correctly to detect the tap gesture that opens the fullscreen view.
Hi, @hanorz can you please share the device and OS that you are using for testing? On our end, the label with the underline works correctly to detect the tap gesture that opens the fullscreen view.
I am using iPhone 12 simulator(14.5) and iPhone 8 real device(14.4).
Hi, @hanorz can you please share the device and OS that you are using for testing? On our end, the label with the underline works correctly to detect the tap gesture that opens the fullscreen view.
The screenshot picture was build in iPhone 12 simulator(14.5), there is nothing else on the project, only 2.0.44 SDK
Hi, @hanorz can you please share the device and OS that you are using for testing? On our end, the label with the underline works correctly to detect the tap gesture that opens the fullscreen view.
The screenshot picture was build in iPhone 12 simulator(14.5), there is nothing else on the project, only 2.0.44 SDK
Thanks for the info. We will try to replicate the same issue. Meanwhile, can you try the OSM with the environment = .demo, it should render a static osm view, please, check if that view has the same issue. tap in any part of the underline and should open a fullscreen. Let us know if that one works please.
Hi, @hanorz can you please share the device and OS that you are using for testing? On our end, the label with the underline works correctly to detect the tap gesture that opens the fullscreen view.
The screenshot picture was build in iPhone 12 simulator(14.5), there is nothing else on the project, only 2.0.44 SDK
Thanks for the info. We will try to replicate the same issue. Meanwhile, can you try the OSM with the environment = .demo, it should render a static osm view, please, check if that view has the same issue. tap in any part of the underline and should open a fullscreen. Let us know if that one works please.
Just tried. Same issue, nothing react by tap.
@hanorz thanks. Could you share how the Debug View Hierarchy looks for that element please ? also, which version of xcode ?
@hanorz thanks. Could you share how the Debug View Hierarchy looks for that element please ? also, which version of xcode ?
Version 12.5.1 for Xcode
@hanorz thanks. Could you share how the Debug View Hierarchy looks for that element please ? also, which version of xcode ?
I can send you the demo project if you need.
@hanorz thanks for the info. It looks like it's a height constraint on the OSM view in the implementation. Make sure to extend KlarnaOSMViewEventListener and use the height sent in klarnaOSMViewResized, and update the height constraint for the OSM view with the new height sent.
@hanorz thanks for the info. It looks like it's a height constraint on the OSM view in the implementation. Make sure to extend KlarnaOSMViewEventListener and use the height sent in klarnaOSMViewResized, and update the height constraint for the OSM view with the new height sent.
It works.Thanks you.