Skip to content

Commit

Permalink
update the deprecated openURL(:) api to openURL(:options:completionHa…
Browse files Browse the repository at this point in the history
…ndler) (#4980)

* update the api openURL(:) to open(:options:completionHandler) as openURL(:) is deprecated
  • Loading branch information
DharshanBJ authored Nov 1, 2024
1 parent ac1cb05 commit f29be92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private async Task InvokeIosBrokerAsync(Dictionary<string, string> brokerPayload
() => iOSBrokerConstants.BrokerPayloadPii + paramsAsQuery,
() => iOSBrokerConstants.BrokerPayloadNoPii + brokerPayload.Count);

DispatchQueue.MainQueue.DispatchAsync(() => UIApplication.SharedApplication.OpenUrl(url));
DispatchQueue.MainQueue.DispatchAsync(() => UIApplication.SharedApplication.OpenUrl(url, new UIApplicationOpenUrlOptions(), null));

using (_logger.LogBlockDuration("waiting for broker response"))
{
Expand Down

0 comments on commit f29be92

Please sign in to comment.