Skip to content

Commit

Permalink
fix(android): ensure adTagUrl can be reset (#3408)
Browse files Browse the repository at this point in the history
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
  • Loading branch information
freeboub and olivier authored Dec 8, 2023
1 parent fbb5654 commit f9bcaac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public void setSrc(final ReactExoplayerView videoView, @Nullable ReadableMap src
@ReactProp(name = PROP_AD_TAG_URL)
public void setAdTagUrl(final ReactExoplayerView videoView, final String uriString) {
if (TextUtils.isEmpty(uriString)) {
videoView.setAdTagUrl(null);
return;
}

Expand Down

0 comments on commit f9bcaac

Please sign in to comment.