Questions tagged [openurl]

A cocoa method on iOS letting developers access other apps from inside an app.

376 questions
1
vote
1 answer

Open a local html file with url params through applescript

I need some help with a very simple applescript. I need it to open a local URL on mac with a url parameter. set str to "open -a 'Firefox' file:///Users/bob/Desktop/someFolder/index.html?val=28" do shell script str I can't find a way to get the…
slinky2000
  • 2,663
  • 1
  • 15
  • 12
1
vote
1 answer

How To Deep Link to a Specific Location In Apple Health

I'm trying to deep link to the new Vision Prescription page in Apple health. I didn't see any documentation on how Apple health deep linking works, and was able to guess my way into the browse page by going …
Kobe Ryan
  • 13
  • 3
1
vote
1 answer

Swift: application(_: open url: options:) not being called at all

I'm trying to open a secondary view controller (not initial) in one app from a different app I built. So I'm trying to deep link to a view controller that's not the initial one, but the function is not being called at all. I already implemented…
1
vote
1 answer

Open non-URL string in Safari (e.g. Search)

It's quite easy to open a URL in SwiftUI, e.g. as I've mentioned in this answer, however, I'm interested in opening the following strings in the web browser (e.g. Safari) with the default search engine: samplestring 8883notaurl Is there an…
Richard Topchii
  • 7,075
  • 8
  • 48
  • 115
1
vote
1 answer

Can an iOS App Switch to Safari Without Opening a Page?

I know that my app can open a particular URL in Safari by doing something like this: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.example.com/"]]; but, is there any way to have my app switch over to Safari without…
Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
1
vote
0 answers

unable to open url: tel xxx by Linking.openURL(jumpUrl) in ios 10

When I code in my xxx.tsx file with the below content: const jumpUrl = "tel:" + mobileNumber; Linking.openURL(jumpUrl); After then, In our crash monitor website, I found that the MRN crash occurred in iOS 10.3.3 device: Unable to open URL: tel:xxx,…
1
vote
0 answers

Differences between opening a browser in Amazon Echo and Echo Show

I am using the following Code to open the Webbrowser on Amazon Echo Show { "version": "1.0", "response": { "type": "OpenURL", "source": "https://www.amazon.com/", "onFail": { "type": "SetValue", …
user2141658
  • 21
  • 1
  • 2
1
vote
2 answers

Open phone app with auto populated number in Swift

Is there a way to open the phone app using swift? all the answer I see was to use UIApplication.shared.open(urlNumber) like this. but it's not opening the phone app, instead, it will create a pop up and a cancel or call option. This is my expected…
Dylan
  • 1,121
  • 1
  • 13
  • 28
1
vote
0 answers

How to Open PlayStore Page in Unity Android

I tried to make a code that open a Playstore Page (in playstore app), in a test build apk. Code: Application.OpenURL("market://details?id=xxx.xxxxx.xxxxx/"); Using this code (and setting my Playstore id), in my Build apk starts to open Play Store…
Nopkar
  • 21
  • 3
1
vote
1 answer

How to catch error that iPad make phone call get error "iPhone calls not available"

I have a question about phone call using iPad. I try to make phone call, but I got error in iPad by system. How can I control this error message like following image? How to catch this error? thanks. NSString *value = [NSString…
JimmyLee
  • 507
  • 2
  • 7
  • 24
1
vote
1 answer

How can I open a url for both Angular and Nativescript from one component codebase?

I am building a NativeScript-Angular app which displays a link than needs to open in a new browser on both the web and mobile. For Angular, I can use window.open("http://example.com", "_blank"); - which does not work for NativeScript. For…
1
vote
1 answer

UIApplication.shared.open is not working in ios 13

I am trying to open google map, but the following code is not working in ios 13. let addressForMap = address.replacingOccurrences(of: " ", with: "+", options: .literal, range: nil) if let url = URL(string:…
priyanka
  • 11
  • 4
1
vote
2 answers

Objective C retrieve data from another application

I wrote two applications, and I need interaction between them. I mean, in the first application, there is a view, where you need to add a number. But if you don't want to write it down, the other app generate it for you. So I need the number, which…
madik
  • 133
  • 2
  • 10
1
vote
1 answer

iOS : Touch Id is not shown when AppDelegate's open url is invoked

My App supports opening documents like images, pdfs from other apps. Tocuh Id is implemented as shown below, it is requested when app comes to foreground NotificationCenter.default.addObserver(forName: .UIApplicationWillEnterForeground, object:…
Rajesh Rs
  • 1,301
  • 5
  • 24
  • 48
1
vote
1 answer

How to pass the dictionary to other iOS app using openURL:options?

I am using the below lines to transfer and open the ios app from other ios application. NSURL *url = [[NSURL alloc]initWithString:@"test2://"]; NSMutableDictionary *tempDict = [[NSMutableDictionary alloc]init]; [tempDict…
Finder
  • 8,259
  • 8
  • 39
  • 54