-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Authentication and Offline Tile Packages #308
Comments
Have you reviewed this topic in the Guide: https://developers.arcgis.com/android/latest/guide/access-the-arcgis-platform.htm#ESRI_SECTION1_2513881AFEDD4B1688E614554463EB71 ? Does it help? Let us know... |
I have... but I couldn't get the code figured out. A code sample or pseudo-code sample would be very helpful. Thanks. |
Agreed! Apologies for not having this more clear for you. We will work to get something for you on this. |
Thanks. That's awesome! |
Just following up to see if you have had a chance to look at this issue. Thanks. -Bill |
We are still trying to put this together. I apologize for the delay. Stay tuned.... |
Hi Bill, Looks like we've hit a current limitation in 100.0. One approach is to have a proxy in the mix, which gives your app a token, based on a set of credentials, without having those credentials baked into the app, is highly not recommended. I apologize for the delay in getting back to you. This is taking some time verifying that it will work for you. Stay tuned, though. |
Thanks for the update. |
Can someone guide me how to use .tpk file usuing android runtime api version 100.0? |
@adnanmacro Use a TileCache. |
Here's code I developed based on examples in the docs using the OAuthLoginManager... Even though I get logged in I'm getting the following error when I try to export a tile cache: "Job error 498 Invalid Token"
|
Just checking in to see if there are any updates or news on this issue? |
I ran across this issue while I was trying to find a solution to the same problem, so I figured I would add what worked for me:
|
I asked this question on GeoNet but haven't received any responses...
"I have a registered app (with client id and secret id). I want to enable users to download tiled map packages from the app ex: (https://tiledbasemaps.arcgis.com/arcgis/rest/services/USA_Topo_Maps/MapServer)... How do I use the new authentication patterns in version 100 to do an "app" login without having to present the user with the login screen. My users will not have logins to ArcGIS online or portal."
The text was updated successfully, but these errors were encountered: