Jump to content
Server Maintenance This Week. ×

Detect Non Cellular Device


This topic is 2973 days old. Please don't post here. Open a new topic instead.

Recommended Posts

We have a solution that runs on iPad, iPhone and iPod Touch. When a user takes a picture with our solution it automatically grabs the users GPS coordinates. This works great on iPhone & iPad with GPS. On the iPod touch and iPads without GPS the process takes longer because it tries to use the wifi to determine location unless the user cancels by swiping. Does anyone know a way I can test via a function or script step to see if the device is an iPod Touch and then just not even run the location script?

Link to comment
Share on other sites

Kris actually linked to Get(NetworkType):  https://www.filemaker.com/help/14/fmp/en/html/func_ref1.32.122.html#1068067

That does tell you if you're on cell. vs. wifi, but it doesn't tell you if the device is capable of cell. or not.

You can get one step closer with Get(SystemVersion): https://www.filemaker.com/help/14/fmp/en/html/func_ref1.32.151.html#1069437

That will tell you if you have an iPod at least.

I think what I'd do is: detect if it's iPad; if so, on first startup ask if they can use cell. and store that setting. 

I assume you're using the Location function for GPS. Don't forget you can set the timeout.

Edited by Fitch
I was wrong about Get(SystemVersion): only tells you iPhone on WebDirect.
Link to comment
Share on other sites

This topic is 2973 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.