Launch nest app from within my app


#1

I have written an iOS app for controlling the thermostat.
Is it possible to launch the Nest app from within my app?
For example, I can launch the Instagram app using the following code. Specifically, what is the url scheme which the nest app responds to?

  var instagramHooks = "instagram://user?username=johndoe"
var instagramUrl = NSURL(string: instagramHooks)
if UIApplication.sharedApplication().canOpenURL(instagramUrl!)
{  
    UIApplication.sharedApplication().openURL(instagramUrl!)

 } else {
    //redirect to safari because the user doesn't have Instagram
    UIApplication.sharedApplication().openURL(NSURL(string: "http://instagram.com/")!)
}

#2

Answering my own question (after searching around):

The scheme is “nest mobile://”

hope this helps a developer…


#3

Any idea of the android equivalent link?