POST
|
Not exactly. I was something like this Sample Code—ArcGIS Runtime SDK for iOS | ArcGIS for Developers not github. Steps are pretty similar if not exactly the same however I started from an existing project not the sample code.
... View more
03-19-2019
05:56 PM
|
0
|
1
|
646
|
POST
|
Sorry to be honest I totally gave up on this as I was able to solve it quickly with a different vendor. I spent a little time on it just now since you asked and it's easy to switch implementation. I removed the auth line from AppDelegate, I got prompted when the call was made, and the ordered list is returned. Since I'm using the same creds I was using before I would guess it was 2) from your two possibilities above.
... View more
03-15-2019
07:39 PM
|
0
|
3
|
1446
|
POST
|
I should also say that that would be a terrible error message for missing creds or payment info. Since it's iOS this is how the example shows you to handle sign in at the AppDelegate: private func setupOAuthManager() { let config = AGSOAuthConfiguration(portalURL: nil, clientID: AppConfiguration.clientID, redirectURL: "\(AppConfiguration.urlScheme)://\(AppConfiguration.urlAuthPath)") AGSAuthenticationManager.shared().oAuthConfigurations.add(config) AGSAuthenticationManager.shared().credentialCache.enableAutoSyncToKeychain(withIdentifier: AppConfiguration.keychainIdentifier, accessGroup: nil, acrossDevices: false) } Once you do that you get a sign in page so I signed in using my id.
... View more
03-02-2019
04:50 AM
|
0
|
6
|
1446
|
POST
|
For some reason I don't see the post but I saw an email where someone asked me if the routeTask was a class level or method level variable. It is class level per the example I saw.
... View more
03-02-2019
04:39 AM
|
0
|
1
|
646
|
POST
|
Hello I'm calling the route service from iOS as follows: let routeTask = AGSRouteTask(url: URL(string: "https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World")!) routeTask.defaultRouteParameters { [weak self] (defaultParameters, error) in guard error == nil else { print("Error getting default parameters: \(error!.localizedDescription)") return } I keep hitting the error condition with Error Code 15 stating "Error getting default parameters: Cannot call this method in this context". Anyone have any leads on what might cause this? Thanks
... View more
02-24-2019
10:53 AM
|
0
|
13
|
2344
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|