Content-Length: 276868 | pFad | https://github.com/NativeScript/NativeScript/commit/1cee35d4fb2b7eaaa7fbd6aa08b28e3e00dcc7dc
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0506012 commit 1cee35dCopy full SHA for 1cee35d
packages/core/utils/index.ios.ts
@@ -1,5 +1,5 @@
1
import { Trace } from '../trace';
2
-import { ios as iOSUtils } from './native-helper';
+import { dataSerialize, ios as iOSUtils } from './native-helper';
3
4
export { clearInterval, clearTimeout, setInterval, setTimeout } from '../timer';
5
export * from './common';
@@ -39,7 +39,8 @@ export function openUrl(location: string): boolean {
39
try {
40
const url = NSURL.URLWithString(location.trim());
41
if (UIApplication.sharedApplication.canOpenURL(url)) {
42
- return UIApplication.sharedApplication.openURL(url);
+ UIApplication.sharedApplication.openURLOptionsCompletionHandler(url, dataSerialize({}), null);
43
+ return true;
44
}
45
} catch (e) {
46
// We Don't do anything with an error. We just output it
Fetched URL: https://github.com/NativeScript/NativeScript/commit/1cee35d4fb2b7eaaa7fbd6aa08b28e3e00dcc7dc
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments