Maps and Location

RSS for tag

Build maps and location awareness capabilities into your apps.

Posts under Maps and Location tag

86 Posts
Sort by:
Post not yet marked as solved
2 Replies
4k Views
Hello, I have an attendance based app which uses user current location. I want to prevent my ios app from location spoofing which is done by itool or many other tools can anyone please help me out.
Posted
by
Post not yet marked as solved
1 Replies
1.7k Views
Hi, I'm new to wallet, but I already implemented a Loyalty Pass with some use cases: distributing, pushing updates, standard notifications, geofencing notifications with lock screen notifications. Until a month ago, all worked flawlessy, but now the majority of my audience (the users that have installed the pass in their Apple Wallet) don't see the notifications when they enter in the location radius. The strange thing is that with the same json content (same id, same locations list, same coordinates) some users see said notification without a hassle while the other see nothing, even toggling on and off all the related permissions. I suspect (only a suspect, I'm going by exclusion) that the new device subscriptions are those who don't see the notifications and only the old ones see everything as before. Any suggestion? Do a users dashboard (or at least a device subscription list) exist in my Apple Developer portal? Is a known bug, already reported? Thanks for all your replies
Posted
by
Post not yet marked as solved
2 Replies
1.5k Views
Hello, I set up multiple Advanced App Clips experiences with some attached to locations in Apple Maps. But it never appears on those locations in the Maps app. However, the App Clips perfectly launch when scanned from a QR Code, but the App Banner in Safari does not appear if the App is not already installed on my phone. Does anyone know how to debug and fix this issue? Or maybe I am missing something, a review of such Advanced App Clips Experiences linked to Maps perhaps?
Posted
by
Post not yet marked as solved
5 Replies
2.9k Views
Hi guys. I just started developing my own apps and I am very new to Swift and development for iOS, but I had an idea for a great app that utilizes the "Look around" feature that Maps provide, but I can't find any information about this in the documentation for MapKit. Does anyone know if it currently possible to enable a view for this? Thanks in advance!
Posted
by
Post not yet marked as solved
3 Replies
2.9k Views
Hi guys, I have built a PWA that calls the javascript API navigator.geolocation.getCurrentPosition which prompts the user for location access when the Safari permission is set to Ask. This is the correct behavior and works as expected when open in Safari. However when added to the Home Screen and running with a display mode of "standalone", the location alert does not open on my phone (iPhone 13 mini / iOS 15.1.1). And the call never times out. Then if I switch from the PWA to Safari the location alert / prompt is suddenly showing in Safari. So it seems that the alert is targeting the wrong "tab". This does not happen if the PWA display mode is "browser" or "mimimal-ui" with either of those it behaves normally. I can only replicate this on my phone (iPhone 13 mini / iOS 15.1.1). I have also tested on various older phones (15.1.1 and 14.7) as well as several emulators and they all behave as expected. It is possible this is a obscure setting on my phone but it does feel a lot like an iOS Safari bug.
Posted
by
Post not yet marked as solved
6 Replies
2.9k Views
I have given location permission for the app i'm developing. Now i need to reset location permission and want to see the permission pop-up. I have tried tccutil reset and /var/db/locationd/clients.plist is not accessible. Both are failing even with sudo. Please suggest any methods.
Posted
by
Post not yet marked as solved
3 Replies
990 Views
I am comparing results from LocationsServices (particularly speed) with velocity reported by my ublox NEO-M9N receiver. I am 99% certain that I have correctly obtained the UTC time associated with each fix/speed from the receiver. I then compare that time series with the time series of speeds vs time from Core Location services. To align the 2, I must apply a time scale factor of ~ 0.6% to one to allow good alignment between the 2 time series. This is saying that time from Core Location is progressing at a different rate than the UTC time as reported by the GPS receiver. The Date/timestamp reported as part of CLLocations looks like a UTC. But, right now, I can't find anything definitive that it is a UTC. There are different flavors of UTC; the Naval Observatory has one flavor and NIST has another. Can anyone point me to definitive documentation clear stating what time is reported in the Date/timestamp in the CLLocation reported by LocationServices? I am hard pressed to believe that 2 versions of UTC could be so different. Thanks
Posted
by
Post not yet marked as solved
4 Replies
1.1k Views
Hi, I updated Xcode to version 14.3 (14E222b) which comes with iOS 16.4 Also macOS has the latest update Ventura 13.3 (22E252) Mac hardware is a MacBook Pro M1 Max After the update in MapKit (Not SwiftUI) MKPolylineRenderer won't render any more in an iOS 16.4 emulator (but still works fine on a physical device). In the terminal I see many lines like this: "Compiler failed to build request" "PSO error: reading from a rendertarget is not supported" I don't see these lines on a physical device and the polylines render fine on a physical device. Has anybody else seen this? Anything I can do? Thanks Gerd P.S. workaround: works for me when I choose the target "My Mac (Designed for iPad)"
Posted
by
Post not yet marked as solved
2 Replies
1.3k Views
Hello, I'm trying to figure out how to detect when user stops scrolling (panning) the map. The problem: I have a MapAnnotation that I want to always keep in the centre, even is user is panning/scrolling the map. When map is open first time, the original annotation location is user's current location. I request the name of the location to display it on top of the annotation. when user moves the map around, I want to track when he stop this action and select a location in the centre of map's new region and display the a location's name on top of the annotation I can't use .onChange() because region centre changes constantly as user moves the map, because it causes to many requests for location's name DragGesture .onEnded() is never called, so I have no idea when customer stops moving the map So my question is - how to detect in this case when customer stopped moving the map? Have anyone faced the same problem? Any ideas how to solve it?
Posted
by
Post not yet marked as solved
0 Replies
719 Views
I've been getting duplicate visits sent to my CLLocationManagerDelegate. This is new since iOS 16, I did not see this behavior in iOS 15--the observed effect is a quite severe regression in the behavior of CoreLocation. Here is what I'm seeing: The visits have already been delivered When they're sent 'again', they're sent in dozens of callbacks When they're sent 'again', they're sent in batches irrespective of app state I have had a debug app on my phone running since November to capture sysdiagnose for FB12107066. My app simply records data from CoreLocation into a mini Core Data table. Since November 11th, I have had 3808 visits, but when I do some distinct queries on arrival and departure I get a fraction of that. Select distinct arrivalDate: 929 Select distinct departureDate: 799 Select distinct arrivalDate + departureDate: 1172 I wrote some logic to attempt to deduplicate and filter out garbage visits that have already been delivered to me, but my filtering isn't bullet proof. This issue has been happening for me on multiple devices since Nov (iOS 16.2 days?). This happens on an iPhone 13 Pro and an iPad Pro 11-inch (4th gen). This is a real nasty bug as it also keeps waking my app up in the background when I don't expect it to since the OS is delivering me old / replay visits. :/ Has anyone else seen issue with the Core Location Visit API in iOS 16? What deduplication and filtering logic did you come up with? While the issue is affecting me via CoreLocation, I would suspect the same might also occur for anyone using the visits API in SensorKit too.
Posted
by
Post marked as solved
2 Replies
578 Views
Hi team - apologies if this is a simple question / answer but I haven't found any solution elsewhere yet. How customisable is the Geolocation permission box - i.e. the box that pops up asking user to allow us to use Geolocation? What text is specifically required to be stated and how much additional text is allowed on top of any compulsory script? Looking forward to hearing from anyone who can shed any light on this. Regards, Chris
Posted
by
Post not yet marked as solved
0 Replies
412 Views
Hello team, for our app we are utilizing location services and ibeacon services along with background mode, we request users to choose Always Allow access and in our code we use startMonitoringSignificantLocationChanges and Geofencing. When it goes to background we stop fetching the location…but we see Apple Location notification popup is being shown on.. From the attached screen shot we understood that our application has requested Locations in background for these many times and its showing map locations as well. Our users are getting annoyed with these popups. I would like to understand . On what basis apple shows these notifications to user, how they fetch the information. Is that our application hits for location and apple grabs it or when we choose always access automatically system makes these calls and saves information. Can we prevent this popup from displaying to users via code / iPhone settings ? Please clarify.
Posted
by
Post not yet marked as solved
1 Replies
759 Views
Hello, I have a few questions regarding the new CLMonitor that would be really helpful to hear answers to: How many conditions can the CLMonitor monitor at once? The analogous CLRegions had a limit of 20 in iOS 16. Is there a limit, or a larger limit with CLMonitor? What's the range of radii that CircularGeographicCondition can monitor? With CLRegions, we observed a functional minimum radius of 100m. Finally, the session video notes that CLMonitor events can arrive unpredictably: can any further elaboration be given on these events? When might there be more or less predictability of these events? Thanks! Liam
Posted
by
Post not yet marked as solved
0 Replies
335 Views
one day, i found my app doesn't show authorization dialog on my phone(iOS16.2), but will prompt on other phone. and the App "Settings -> Privacy -> Location" is allowed. i restart my phone, reinstall my App, still allowed. i guess, iPhone will store the app's prompt choice in iCloud or somewhere else?
Posted
by
Post not yet marked as solved
3 Replies
586 Views
When running Xcode 15.0 beta, and targeting watchOS 10.0, I'm getting the following error message when I invoke the object. I am using the line import CoreLocation at the top of my ContentView.swift directly below the line import SwiftUI. 'CLMonitor' is unavailable in watchOS
Posted
by
Post not yet marked as solved
2 Replies
646 Views
We are no longer getting a different value for trueHeading vs magneticHeading with the new ipad pro 6th generation M2 device. The M1 iPad Pro works and other iPad and iPhone devices work fine. Apple told one of our users that we need to update our app - but we did only 4 weeks ago. Has something changed to the use of the CLHeading api for the M2 chip?
Posted
by
Post not yet marked as solved
2 Replies
648 Views
Hello, I am currently working on an app for a client. The concept is straightforward: the app allows users to view the location of other users on a map, even when they are not actively using the app. However, this feature is limited to a selected group of people, specifically those who have joined the same group as the user. To achieve this, I collect location data in the background. The primary objective of this app is to connect users with nearby individuals who can assist them with tasks or jobs. However, I encountered an issue during the app review process. The review team deemed it inappropriate for deployment because it displays users' locations on a map, without the necessary privacy safeguards in place. Nevertheless, the main purpose of the app is to allow users to be visible on the map, and people who download the app intend to be included in this display. Here is the comment provided by the reviewer: Your app enables the display of nearby users' locations on a map, but does not have the required privacy precautions in place. Additionally, here is the specific requirement: Require users to manually check-in each time they wish to have their location displayed on a map; there should be no option to enable automatic check-ins. If I understand correctly, this means that users would be required to open the app in order to appear on the map. However, this contradicts the purpose of the app, as users prefer to be passively visible without actively opening the app. On the other hand, I have noticed tracking apps like Life360 and others that provide similar functionalities. They display users' locations on a map in near-real-time. What am I missing to ensure the validity of my app? The reviewer mentioned being unable to provide any hints, so I am hopeful that someone here can assist me.
Posted
by