Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launching Facetime from your app?

I am seeing that you can launch FaceTime from your app via

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"facetime://tel-number"]];

I am also reading that since there is no officially public FaceTime API apple will reject you.

Does anyone know if this rejection talk is true? PAIR has this feature and they have never been rejected.

like image 843
jdog Avatar asked Dec 07 '12 18:12

jdog


People also ask

How do I launch my FaceTime?

Tap the number or address, then tap Audio or Video . 3. If you have the person's phone number or email address saved in your Contacts you can start typing their name and tap the name when it appears. Then tap Audio or Video to initiate a FaceTime call.


3 Answers

This is now documented and legal: https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/FacetimeLinks/FacetimeLinks.html#//apple_ref/doc/uid/TP40007899-CH2-SW1

like image 156
jwilkey Avatar answered Sep 28 '22 18:09

jwilkey


My app got rejected for using FaceTime url. This is the part of response i got from Apple in resolution center.

We found the following non-public API/s in your app: Specifically, your app uses the FaceTime URL scheme, which is undocumented.

If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions.

It was an update of a previous release. The first version got accepted without any problem. Now the update has been rejected due to the above mentioned reason. Seems i have to publish the app without the FaceTime thingy now.

Edit:

Its now legal to use FaceTime url in third party apps.

like image 38
iAmd Avatar answered Sep 28 '22 18:09

iAmd


As a general rule, if you use undocumented API calls and apple catches you, they will reject your application. The reason is because they could change the API call that you are using in new IOS updates and thus would cause your application to crash or not work properly. You can try and submit using the undocumented API and hope that apple lets it through but as i said, you run the risk of Apple changing this api call or removing it completely from the OS in the future.

like image 36
Kris Gellci Avatar answered Sep 28 '22 18:09

Kris Gellci