How to Share GPS Location iOS - iphone

I have seen some apps that offer functionality to share location via email or SMS. I have done a good amount of searching and haven't found much regarding this. Is it because all that is shared are the longitude, latitude information (thus being very simple)?

You need to grab location information and use a transportation medium (email, TCP/IP, HTTP) to send it to a remote site. There is no automatic way of sharing that.

For this you have to fetch Current location of user with the help of core location and with the help of this latitude longitude you can share a google map link to other user via facebook, gmail or any social media.

You need to use CLLocationManager to subscribe for location updates. They are happening asynchronously and every second. You may control precision and some other parameters. Once you get it, you need to push a notification to another device thru your service or something like Urban Airship. I build my app like that https://itunes.apple.com/us/app/citrus-location/id777381230?ls=1&mt=8.
Here is more info from Apple: https://developer.apple.com/library/ios/documentation/userexperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html

Related

Requesting and storing a users's phone number

I am using the new Google Action development environment. I would like to request a user's phone number and also give the user the option to save it for future interactions. This is so I can send text messages and make phone calls for them. Is there a way for me to do this that is compliant with the T&Cs for Google Assistant actions?
Please check with your lawyer, as every country has its regulations. For more info, consult this guide. https://developers.google.com/assistant/conversational/storage-user

Do we need to ask Google assistant for permission every time?

I am building an app that requires Device( Google Home/ Phone ) location. Do we need to request for permissions each time?
Unfortunately, yes. See Google Assistant location permissions not stored between requests
Where possible (ie - for the name) you should cache this against the UserId.
Clearly this isn't reasonable for location. I usually suggest coming up with a set of phrases to use to ask for location instead of just one to at least mitigate how frustrating it can be for the user.
Unlike mobile phone app permissions systems, there is no memory of if a user has previously granted your app a permission. So one option is to ask every time. A better option is to store the result in your backend for future use. However, you should avoid storing sensitive data (such as precise location) due to user privacy issues.
If, for example, you are wanting to store nearby train stations, you could ask for their location via the permission, query for nearby train stations using that location and then store the nearby train stations against their userId.

Eddystone beacon security if not using an app (just based on beacon URL)

I am doing research on an Eddystone project where the user would receive personal (and therefore to some extent confidential) information based on an Eddystone URL on their phones. There is no app involved, so the user would be directed to a webpage (based on the eddystone URL) which will display the info.
I am wondering regarding the security implications of this: Without an app, I guess the EID cannot be used - is this right (or is the EID accessible in the notification and can be passed to the destination website as a parameter)? Therefore, I suppose anyone with the name of the url could then access this information which would become a problem as you could scrap the data for every user using the service with a simple script that reads this website every now and then.
There may be a way around it if the url in the beacon can be changed on the fly to something like www.abc.com/some-random-number. That would work but it would mean that the beacon url must be updated frequently.
Does anyone know of any beacons that come with an API that would allow me to do this from a Windows machine (I know manufacturers have apps that can change beacon data but that is not an option because this should run without user intervention)? E.g. I was thinking of a USB beacon that can be accessed from a little piece of software on windows which changes the url.
Or does anyone have a better idea on how to deal with this?
Thanks,
Chris
If you are going to show the website visitors some personal and confidential information, I do think the only way to go about is to have some sort of login on the website. The ability to change randomly the URL address that the beacon broadcasts would not be helpful, as you need a way to connect the random website address to the individual accessing it. The EID is a way to distinguish which apps can receive specific beacon information - it does not check which individual is using the application. (And you can only utilize it with applications, at least for now).

Remove Location Manager alert from my application

I used Location Manager API for find out Latitude and Longitude of the current place.
But when i called update location manager method i get some alert from application which i have attach along this message.
I want to remove this alert message and by default i want to set YES or (Allow) for that.
Is it possible or not?
Thank You
Its not possible to do that. It is done to safeguard user's security. If you've been following the PATH ADDRESSBOOK issues, it was raised 'coz Path App didn't ask users before using their Address Book. So Apple's implemented the asking feature or permission by default in Core Location and Push Notifications. And By the looks of it, in the address book as well and you will have to stick to it - After all, you don't want to fall into privacy issues. :)
It is not possible,This dialog would be shown once when the app starts
You cannot and even if you could, probably your App wouldn't be accepted by Apple.

How do i get the instant messaging addresses from iphone contacts

How do i get the instant messaging addresses from iphone contacts in my application ? Do you have a sample code for this, i know how to get the rest of the Data i just have problems whit this
Looking at the documentation here (search Personal Information Properties), you can't. Maybe you will be able to do it when (if) we will get access to the FaceTime API's.