Maps and Location

RSS for tag

Build maps and location awareness capabilities into your apps.

Posts under Maps and Location tag

80 Posts
Sort by:
Post not yet marked as solved
2 Replies
1.1k 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 Last updated
.
Post not yet marked as solved
4 Replies
1.3k Views
On repetitive attempts, I am getting "Invalid Binary" with ITMS-90117: Missing routing app coverage file: You must upload a routing app coverage file in App Store Connect if you register as a routing app. Here is my Geo Json file: { "type": "MultiPolygon",   "coordinates": [     [[[-141.1,43.7], [-141.1,69.7], [-52.3,69.7], [-52.3,43.7], [-141.1,43.7]]],     [[[-127.2,22.9], [-127.2,49.4], [-58.5,49.4], [-58.5,22.9], [-127.2,22.9]]],     [[[2.2,49.3], [2.2,51.3], [6.5,51.3], [6.5,49.3], [2.2,49.3]]],     [[[59.0625,4.915832801313164], [100.546875,4.915832801313164], [100.546875,38.8225909761771], [59.0625,38.8225909761771], [59.0625,4.915832801313164]]]   ] } I just include 3 countries - USA, Canada and India, as I selected these 3 countries AppStore to list my app. Can you please help me what is wrong with the above file? I don't get any error and there is no way to debug this. Thanks
Posted Last updated
.
Post not yet marked as solved
1 Replies
112 Views
We are planning to launch an App in App store that mainly tracks the location of the employee in field, just like how uber or swiggy does to inform the customer's that where the delivery partners are and their ETA. Just like that we need the employers to know about the current location of the employees in the field of sales/marketing. Is this possible to be implemented in App store, are there any challenges? If there any challenges, can you let us know what the challenges are and how they can be solved? Thanks, Arjun
Posted Last updated
.
Post not yet marked as solved
0 Replies
106 Views
I'm looking for a way to open apple maps navigation with two destinations via deeplink from my iPhone application: (i) the final destination and (ii) a pit stop on the way. Is this possible? The documentation I've found so far indicates the answer is no: https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html
Posted Last updated
.
Post not yet marked as solved
2 Replies
377 Views
Hello I’ve a question regarding CLLocationManager as I’m observing a strange behaviour when receiving location updates. And I don’t really know what could be the culprit here. Some information regarding the device: Device: iPhone Xs Max OS: iOS 16.1 beta 4 App Background Modes: locations updates checked. CLLocationManager setup: CLAuthorizationStatus: authorizedWhenInUse CLAccuracyAuthorization: fullAccuracy allowsBackgroundLocationUpdates is ON pausesLocationUpdatesAutomatically is OFF (but toggle to turn in on in the POC) activityType (CLActivityType): .otherNavigation (but tried other options). desiredAccuracy (CLLocationAccuracy) : kCLLocationAccuracyNearestTenMeters (to receive GPS updates, and not cell towers) distanceFilter CLLocationDistance): kCLDistanceFilterNone (-1) or 0. When I record with the device unlocked, everything is working fine with the app either in foreground or in background. It receives location updates as I walk around with quite good accuracy (between 5 and 15 meters, see attachment). But I notice that when the device is locked in my pocket, the location service stops receiving updates after a while (like few minutes). I tried with Wi-Fi off and it behaves the same. You can see that in my screenshots attached: many values are incorrect (speed, course). When I open the app again (not crashed), the locations are received again but the horizontalAccuracy is not very good: it’s as if it was not using the GPS anymore. I tried with low power mode enabled and disabled, and I think it behaves the same but maybe not? Is the low power mode responsible for this discrepancies?  As far as I know, it does not modify location services accuracy (only network, background tasks, etc.). Thanks
Posted
by alpennec.
Last updated
.
Post not yet marked as solved
0 Replies
186 Views
Hello friends, We are building a driving assistant app that gives description of the customer’s car details like fuel efficiency, battery health etc. We also send to notification to our users when they drive their car like harsh acceleration, over riding etc. One the most requested feature for our app is “Suppressing the notifications when the user is driving automatically”. So our customers will toggle a new feature called - Intelligent Alerts, which will automatically suppress the notifications of the app when the user is driving. This is our progress - We know about com.apple.developer.usernotifications.filtering entitlement and its ability to suppress notifications but want something that works for iOS 12 and iOS 13 also (This only works for iOS 13.3 plus) We want to compare the car location to user location at all time if it matches then the user is driving and we suppress the notifications My Question : -  How can we suppress notifications irrespective of the state of app like foreground, background or killed How can we access the location of the user at all time irrespective of the state of app like foreground, background or killed
Posted Last updated
.
Post not yet marked as solved
1 Replies
131 Views
Hi, I'm using Flutterflow. I've a custom function in my app, that prints the actual device position. This works all fine. I've also added an error massage if the location service is denied, which also works fine. BUT, if the device doesn't have any GPS signal then the page loads forever. And I tried to trigger an error massage for that as well, like "no GPS signal". Unfortunately this does not work. So, if the location services are denied the app shows my error massage "GPS: deactivated" and I get the following in the debug console: 2022-11-04 13:15:46.174282+0100 Runner[15924:813618] flutter: Error querying user location: Location permissions are permanently denied, we cannot request permissions. But if the device doesn't have any signal, my error massage doesn't get displayed and I get the following in the console: LOCATION UPDATE FAILURE:Error reason: (null)Error description: The operation couldn’t be completed. (kCLErrorDomain error 0.)  Does any one know what I have to do, to stop the infinite loading and to generate an error massage if  there is no gps signal? Here is the full function code: String positionAsWgs(LatLng? position) {  if (position == null) {   return "GPS: no Signal";  } else {   var est = position.latitude;   var north = position.longitude;   String estString = est.toStringAsFixed(5);   String northString = north.toStringAsFixed(5);   var wgs84 = "$estString° N / $northString° E";   if (wgs84 == "0.00000° N / 0.00000° E") {    return "GPS: deactivated";   } else {    return wgs84;   }  } }`
Posted
by ToniF.
Last updated
.
Post not yet marked as solved
1 Replies
328 Views
Hi Team, I need to implement a place/location search. This search should work on the Globe like "Maps" application do when we search for something. I tried it with below code but it is responding with very limited data. Could you please review the below code and help me to build my requirement. 			let request = MKLocalSearch.Request() 				request.naturalLanguageQuery = searchField.text 			 				request.region = self.mapView.region; 				let search = MKLocalSearch(request: request) 				search.start { response, _ in 				guard let response = response else { 						return 				} 						self.matchingItems = response.mapItems 						self.tableView.reloadData() 				} I thougt this was might be the issue with region, So I tried to create region with "MKCoordinateRegionMakeWithDistance" by giving distance values. But it is still responding with same data that I got earlier. Below is the line of region created with Distance values. 				let region = MKCoordinateRegionMakeWithDistance(self.mapView.centerCoordinate, 300000000, 300000000); 				request.region = region;
Posted Last updated
.
Post not yet marked as solved
4 Replies
3.9k Views
Hello, (sorry for long log attached within) There has been concern (long story) that my secondary apple ID, phone was somehow linked or registered within an app developer or anything other then default and looking for clarification. This log is directly from the phone/apple ID and the log was generated with a credible source. The apple ID/phone should not be associated with anything and no APP dev account should be associated within the log. Additionally my phone/apple ID that this log is associated with I am wondering if someone can tell me if there is anything to support or speculate that the phone is being shared or bundled in some fashion of any kind to share data, location, apps, or if there is anything such as coding of any kind that is anything other then what your standard phone would look like right out of the box with default settings. It's my suspicion that the apple id/phone log would support the issues that's been present of many issues that can be explained later. Any help would be greatly [appreciated.]( Log of Apple ID/phone in question - https://developer.apple.com/forums/content/attachment/7c971c69-4a7c-43a4-b5e4-42e9e180d161 )
Posted
by Yoshi007.
Last updated
.
Post not yet marked as solved
3 Replies
1k 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 Last updated
.
Post not yet marked as solved
1 Replies
325 Views
Hello everyone, I would like to report problems regarding the maps of iPhone iOS 16.1 - iPhone 12 Pro 256GB. First problem (crash) systematic always: Open Maps app Delete 1 favourites (swipe from right to left) and press delete button. observed: maps crash Second problem (maps remains all black graphics): Open Settings-> Screen and Brightness -> select the white mode Open Maps Observed: Maps remains in black mode graphics. Thanks.
Posted
by Blauner5.
Last updated
.
Post not yet marked as solved
0 Replies
199 Views
Hello, after a recent Apple Maps update last week the satellite imagery data now looks a lot worse than before. What previously looked lifelike and lush now looks very sad and wintery. Also the contrast seems way to extreme. Attached is a sample image. FB: FB11716831 Any chance that this could be reverted to the old version?
Posted Last updated
.
Post not yet marked as solved
0 Replies
226 Views
I'm trying to implement the Location Push Service Extension in my app. I added a new target => "Location Push Service Extension" and a new subclass appeared "LocationPushService" In this class I have 4 methods: didReceiveLocationPushPayload serviceExtensionWillTerminate locationManager( .... didUpdateLocations ...) locationManager(... didFailWithError ....) When I try to run the app, I never enter into any of those method. I sent a notification through Firebase, here the content of it: to: <token>, notification: { title: "Test notification for location", body: "Test notification", sound: "default" } Am I forgetting something? Should I add something in the payload of the notification or in my code app? Also the CLAuthorizationStatus.authorizedAlways is activated. Thank you
Posted Last updated
.
Post not yet marked as solved
1 Replies
455 Views
I am working on an app that requires location to work in the background constantly. I am using CLLocationManager. Whats happening is after sometime the location service stops working in the background. We have seen the location services stop with in 30 seconds of being in the background, as well as up to 20 hours of location working in the background then it stops. Usually the app doesn't crash, but at times we have seen a crash (very rarely). Currently we: Enabled the background location in info.plist Requests always authorization Start location updates in the foreground allowsBackgroundLocationUpdates is set to true pausesLocationUpdatesAutomatically is set to false. when a car is detected the desired accuracy is set to kCLLocationAccuracyBestForNavigation Any help would be great.
Posted
by Turtle919.
Last updated
.
Post not yet marked as solved
0 Replies
316 Views
Hello fellow developers, I am currently looking to develop a new golf application to bring in many of the features I utilize across multiple applications. I would love some feedback as to my design, should I use cross-platform development or native? I have also attached a mockup of my application, please provide any feedback The golf application will utilize technology to provide my users with the ability to combine multiple different needs into a single application, these needs are, booking a tee time, tracking your score, GPS yardage feedback as well as scheduling a lesson from a professional. When location service is enabled, gps utilizes this feature to track the end-user's location to provide all the golf courses in their location as well as utilize the GPS to provide yardage to the golf pin and different aspects such as water hazards or bunkers. Providing users, a way to track their scores, which will assist in developing a handicap, currently there is not an application that combines all elements into a single application. Additionally, integrating a link within the application to schedule lessons with a professional, track all elements within a calendar system, providing notifications that will alert the golfer if chosen to track golf tee times and lesson scheduling. Features: Visitor Registration: This module will require the end user to register personal information including, first name, last name, email and phone number.          Visitor Login: After the user has registered, this module will enable the user to utilize their username and password. Booking a Tee Time: This module will provide the user to allow their GPS, once the user allows, a list of golf courses will be provided to the user. However, if the user chooses not to allow GPS, an option will be provided to search by city or zip code. GPS Range Finder: This module will allow the users to utilize GPS to track how far objects are from where they are at, including the golf pin, bunkers, or water hazards. USGA Handicap Scoring: This module will allow for the end user to input his score, front 9 holes, back 9 nines, date, and which course. Once entered this would provide and report to USGA to develop the golfer’s handicap. Online Golf Lesson Scheduling: This module will enable users to look online to book a golf lesson with an individual based off their needs and reviews.
Posted Last updated
.
Post not yet marked as solved
0 Replies
302 Views
With the updated 3D effects of MKMapKit, is it possible to add an Annotation or Overlay at a certain altitude? Currently they are 'pinned' to ground level. The MKUserLocation annotation is a good example of a '3D' annotation, as it appears at the users altitude when a 3D map is displayed (example attached).
Posted Last updated
.