POST
|
Hi Shimin, Thanks for the log. I realized that the log did not capture the response for the request which produces the error as it did not finish. Can you please reproduce the issue and when dialog pops up, hit skip on it? When done, check which request returned with `403 - Request Forbidden` error? If you don't see the error, I would suggest using any third party app to log request response. May be a Charls Proxy or Fiddler etc. Regards, Nimesh
... View more
10-12-2021
05:15 PM
|
0
|
4
|
797
|
POST
|
Hi Shimin, Please add following code at the start of `viewDidLoad` which will create a log file with all request and responses. Once, you are able to reproduce the issue, upload the generated log file at the location I gave earlier. let config = AGSRequestConfiguration.global() config.debugLogFileURL = URL(fileURLWithPath: "path/to/Log.md") config.debugLogDeleteBeforeEachRun = true config.debugLogRequests = true config.debugLogIncludeRequestHeaders = true config.debugLogResponses = true config.debugLogIncludeResponseHeaders = true config.debugLogResponseTrimThreshold = 2000 Thank you! Regards, Nimesh
... View more
10-12-2021
03:48 PM
|
0
|
6
|
803
|
POST
|
Hi Shimin, Thank you, I'm able to access the feature service now. Using your repro project, I tried to reproduce the issue multiple times but not able to do so. There are lot of layers in the feature service so it takes some time for them load and render on the map but no credential dialog pops up. I suspect your geoblocking is playing part in credential dialog? The `403` errors are considered an authentication and somehow your geoblocking coming into picture and throws `403` error and credential dialog pops up. Are you still able to reproduce the issue? Regards, Nimesh
... View more
10-11-2021
09:10 AM
|
0
|
8
|
1335
|
POST
|
Hi Shimin, I was able to download the project and run. However, is feature service used in the project internal? When I try even in browser it gives me `403 Forbidden` error. See attached image. Regards, Nimesh
... View more
10-08-2021
09:55 AM
|
0
|
10
|
1371
|
POST
|
Hi Shimin, I've direct message with instruction to send me the project. Thank you! Regards, Nimesh
... View more
10-07-2021
10:36 AM
|
0
|
12
|
1385
|
POST
|
Hi Shimin, If possible, can you please send us the reproducible code and all request/response log so we can investigate what is going on? Regards, Nimesh
... View more
10-06-2021
09:07 AM
|
0
|
14
|
1408
|
POST
|
Can you capture all request/responses and send to me in direct message? If possible, send a reproducible sample project too so I can help you where to set another credential. Regards, Nimesh
... View more
12-15-2020
01:09 PM
|
0
|
0
|
968
|
POST
|
What type of layers present in the portalItem? Are they hosted feature layers? If yes, it requires another credential/token generated using portalToken. Can you please post the credential challenge information? Regards, Nimesh
... View more
12-04-2020
04:22 PM
|
0
|
2
|
980
|
POST
|
What is the OAuth configuration and is App configured correctly to handle redirect URL? If possible, send me a sample app to reproduce the issue. You can direct message. ~Nimesh
... View more
11-13-2020
07:33 AM
|
0
|
0
|
626
|
POST
|
Hi Mike, I would like to know few things to narrow down the issue. How many layers are in the map which you are trying to take offline? Is user you are using has access to layers? All layers belong to the same server? Are you getting the prompts only while taking it offline or just loading a map too? ~Nimesh
... View more
11-12-2020
09:24 AM
|
0
|
2
|
637
|
POST
|
Hi Vipin, You can observer the AGSGeoView's navigating property using KVO (Key-Value Observing) to know when it changes. Hope this helps! Regards, Nimesh
... View more
10-05-2020
07:10 AM
|
1
|
0
|
547
|
POST
|
I suspect, agsArcGISFeature is getting released before operation completes and callback. To test it, just create a class variable for agsArcGISFeature or add it to a print statement. print("addAttachment() completed successfully for \(agsArcGISFeature)") Hope this helps! Regards, Nimesh
... View more
07-08-2020
07:38 AM
|
0
|
0
|
513
|
POST
|
When you call `AGSAuthenticationManager.shared().credentialCache.enableAutoSyncToKeychain`, the in-memory AGSAuthenticationManager.shared().credentialCache is being stored in the Keychain with unique identifier. When you call AGSAuthenticationManager.shared().credentialCache.disableAutoSyncToKeychain() it just breaks the link between in-memory credentialCache and entry in the Keychain but in-memory credentialCache is still there. The steps to successfully achieve what you want are, 1. AGSAuthenticationManager.shared().credentialCache.disableAutoSyncToKeychain() 2. AGSAuthenticationManager.shared().credentialCache.removeAllCredentials() 3. Create new AGSPortal instance for the new user. This is important because, the portal.credential will be there as well as all portal has other properties and content specific to the user. So when you want to switch user, you can call it is SignOut/LogOut and in that you do, 1. DisableAutoSyncToKeychain 2. RemoveAllCredentials 3. Set portal = nil Hope this helps! Regards, Nimesh
... View more
05-18-2020
07:45 AM
|
2
|
1
|
536
|
POST
|
The AGSPopupViewControllerTypeWeb uses WKWebView and not UIWebView. You can look at 100.7 API Reference documentation. Can you please double check which SDK version you are using? ArcGIS Runtime SDK for iOS: AGSEnumerations.h File Reference AGSPopupViewControllerTypeWeb View controller that displays an embedded WKWebView Regards, Nimesh
... View more
04-17-2020
11:28 AM
|
0
|
0
|
489
|
POST
|
I would like to look at your switch basemap code to help you exactly but in general `AGSBasemap` is loadable. So either you can explicitly call `load` on it or you can observe `loadStatus` property to know when it finish loading. Regards, Nimesh
... View more
04-13-2020
02:09 PM
|
0
|
0
|
327
|
Title | Kudos | Posted |
---|---|---|
1 | 03-12-2024 08:54 AM | |
1 | 09-28-2023 08:19 AM | |
2 | 07-28-2023 08:07 AM | |
1 | 06-27-2013 10:42 AM | |
3 | 04-14-2023 08:32 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|