Detecting device OS

General question about two step analysis, matchers and other general API questions
sangamesh_ms
Posts: 1
Joined: Thu Feb 12, 2015 8:30 am

Detecting device OS

Postby sangamesh_ms » Thu Feb 12, 2015 8:35 am

Hi,

We have PHP code setup for calling WURFL API. We are able to get response for "form_factor" capability.

But when I am trying to use capabilities like "is_ios", "is_andriod" and "device_os" its giving us below error:
"Error: The requested capability (is_ios) is >invalid or you are not subscribed to it."

Please advise.

Regards,
Sangamesh

Elliotfehr

Re: Detecting device OS

Postby Elliotfehr » Thu Feb 12, 2015 10:31 am

Sangamesh,

I noticed that your account is only subscribed to the `form_factor` capability at the moment which is why these capabilities are not being returned by the WURFL cloud. If you would like to add them to be returned back by the cloud service, you will need to add them to your account on scientiamobile.com.

You can also find an example to display every capability that you are currently subscribed to in `examples/show_capabilities.php`.

Thank you,

Elliot


Who is online

Users browsing this forum: No registered users and 6 guests