-
Notifications
You must be signed in to change notification settings - Fork 103
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
Crash fix on bid.ext.prebid.meta getter in Bid.swift #1108
base: master
Are you sure you want to change the base?
Conversation
@@ -88,12 +88,14 @@ public class Bid: NSObject { | |||
|
|||
/// Preffered plugin renderer name | |||
public var pluginRendererName: String? { | |||
meta?[Bid.KEY_RENDERER_NAME] | |||
guard let rendererName = meta?[Bid.KEY_RENDERER_NAME] as? String else { return nil } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just return meta?[Bid.KEY_RENDERER_NAME] as? String
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
} | ||
|
||
/// Preffered plugin renderer version | ||
public var pluginRendererVersion: String? { | ||
meta?[Bid.KEY_RENDERER_VERSION] | ||
guard let rendererVersion = meta?[Bid.KEY_RENDERER_VERSION] as? String else { return nil } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mdanylov-sigma @OlenaPostindustria @jangirtony2009, the unit tests fail every time. Do they work for this branch locally? If they work locally, It will be ok to merge. but need some proof. |
Let me check
…On Tue, Mar 11, 2025 at 1:28 PM Yuriy Velichko ***@***.***> wrote:
@mdanylov-sigma <https://github.com/mdanylov-sigma> @OlenaPostindustria
<https://github.com/OlenaPostindustria> @jangirtony2009
<https://github.com/jangirtony2009>, the unit tests fail every time. Do
they work for this branch locally? If they work locally, It will be ok to
merge. but need some proof.
—
Reply to this email directly, view it on GitHub
<#1108 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANBZHZ6E4BGWXCMBV7UYJT32T2JTXAVCNFSM6AAAAABXZZCI32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJTGA2TKMJSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: YuriyVelichkoPI]*YuriyVelichkoPI* left a comment
(prebid/prebid-mobile-ios#1108)
<#1108 (comment)>
@mdanylov-sigma <https://github.com/mdanylov-sigma> @OlenaPostindustria
<https://github.com/OlenaPostindustria> @jangirtony2009
<https://github.com/jangirtony2009>, the unit tests fail every time. Do
they work for this branch locally? If they work locally, It will be ok to
merge. but need some proof.
—
Reply to this email directly, view it on GitHub
<#1108 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANBZHZ6E4BGWXCMBV7UYJT32T2JTXAVCNFSM6AAAAABXZZCI32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJTGA2TKMJSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
#1107