POST
|
Hello @padmalcom , We provide the Portal.findItems(PortalQueryParameters) API to find items of a specific type. In your PortalQueryParameters, you can specify the Portal item type you wish to search for. For example, If I want to search for all Feature Service/Feature Layer owned by the Portal's user then you could do something like this: val portalQueryParameters = PortalQueryParameters(query = "type:Feature Service AND owner:${portal.user?.username}", limit = 100)
val portalQueryResultSet = portal.findItems(portalQueryParameters).getOrNull() After that, all the desired items should be in the PortalQueryResultSet returned. Here's a list of the supported types: https://developers.arcgis.com/rest/users-groups-and-items/items-and-item-types.htm You can find more about the search query here: https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm Regarding your Basemap question, I assume you're referring to the following APIs: Portal.fetchBasemaps()
----
Portal.fetchVectorBasemaps() After getting the result, you have to load each Basemap in order to inspect the layers. Let me know if this resolves your question.
... View more
03-18-2024
02:51 PM
|
0
|
0
|
128
|
POST
|
Hello, With 200.2.0 we added support for network interceptors, but at this point only for "observational" purposes such as logging network requests. We are currently working on support for modifying network requests as part of network interception. This will be supported in one of the upcoming releases. Note, if you are interested in adding headers on every outgoing network request, you can currently do this with ArcGISHttpClient.addAdditionalRequestHeader. See similar discussion here https://community.esri.com/t5/kotlin-maps-sdk-questions/there-is-no-way-to-modify-network-request/m-p/1325210/highlight/true#M220
... View more
01-05-2024
11:12 AM
|
0
|
0
|
172
|
POST
|
Can you provide some isolated test code to reproduce this bug?
... View more
07-27-2023
03:24 PM
|
0
|
1
|
385
|
POST
|
Hello @klebercj , It seems that the dev server you are trying to use is self-signed and the connection is being refused. You have a couple options: 1. Install the root certificate in your device so that the device automatically trusts the dev server you are trying to access. - To verify that this was done correctly, try going to the dev server using your mobile browser and you won't get the ""Accept the Risk and Continue" message anymore. 2. Create a NetworkAuthenticationChallengeHandler that returns a ServerTrust network credential when the NetworkAuthenticationType is of type ServerTrust. - Warnign: This will trust all self-signed server certificates and should only be used in test environments and NOT for production. override suspend fun handleNetworkAuthenticationChallenge(challenge: NetworkAuthenticationChallenge): NetworkAuthenticationChallengeResponse {
return when (challenge.networkAuthenticationType) {
...
is NetworkAuthenticationType.ServerTrust ->
NetworkAuthenticationChallengeResponse.ContinueWithCredential(ServerTrust)
}
...
}
}
... View more
07-25-2023
12:57 PM
|
0
|
0
|
426
|
POST
|
Hello @sahilkr8138 Are you using OkHttp in your app ? If so, what version are you using?
... View more
07-25-2023
11:49 AM
|
0
|
3
|
431
|
POST
|
Hi Aaron Dick, We currently don't have an API to directly add credentials into the Credential Cache. The credentials should be added to the cache automatically once you have successfully signed to that secured service. Could you share how some of the code you're using to authenticate with this service? Are you using OAuth, Certificate Credential or IWA? It also seems like you are using a Custom Challenge Handler. Is there anyway you could share your implementation?
... View more
10-06-2020
08:34 AM
|
0
|
0
|
916
|
POST
|
Shylendra Madda Ahmed Saeed We found that by adding this line to your proguard-rules.pro file, R8 stops obfuscating the SDK: -keep class com.esri.arcgisruntime.** { *; } Please give it a try and report back if it works for your use case. We will add this to our SDK in feature releases for R8 to pick it up automatically so the user doesn't have to add it.
... View more
03-03-2020
11:09 AM
|
0
|
0
|
1507
|
POST
|
Hi Shylendra Madda, Have you tried setting R8 to false? Such as: android.enableR8 = false
As pointed out by the android developer documentation, R8 might run into issues when the library calls JNI code. More here: Shrink, obfuscate, and optimize your app | Android Developers Give that a try and let me know if that works for you.
... View more
01-14-2020
11:20 AM
|
0
|
0
|
4910
|
POST
|
Hi Aaron Dick, Thanks for bringing this to our attention, I have looked into it and I found that this is a bug on our API. We are planning to fix it in our future release and unfortunately there's no workaround other than not using usernames that have a 'backward-slash' when using a UserCredential. Sorry for the inconvenience.
... View more
11-07-2019
10:41 AM
|
0
|
0
|
490
|
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|