Shubham Bhandari
Shubham Bhandari

Reputation: 1

Restrict google assistant action from being used on iphone

I've deployed a Google Assistant action using Node.js and DialogFlow, which tells the user his current location using Google maps API but it doesn't seem to work on iPhone as iPhone doesn't provide GPS location to the action. Can I make it work on iPhone or restrict it from being used on iPhone.Here is the link to the action directory page-Find my Location

Upvotes: 0

Views: 110

Answers (1)

Nick Felker
Nick Felker

Reputation: 11978

There's no specific way to restrict access to a specific type of phone. Although you can check the surface capabilities, you cannot disambiguate between Android and iPhones.

Does the Google Assistant app on the iPhone have any location access? If you ask 'Where am I?' will it give the answer?

What are you getting after you make the location permission request? Do you get a permission denied response, or an undefined location?

Upvotes: 1

Related Questions