How to disable the authentication dialog box in navigate in AR

417
1
04-03-2021 04:52 PM
ymw0331
New Contributor

Hi, could I know either if there is a way to disable the authentication dialog box for the sample in navigate in AR. Is there a way to make use of code to use the sample without logging with arcgis account even thought I do have one. 

0 Kudos
1 Reply
RamaChintapalli
Esri Contributor

Hi,

You can disable the default authentication handler dialog in the sample by commenting this line here,
https://github.com/Esri/arcgis-runtime-samples-android/blob/main/java/navigate-in-ar/src/main/java/c...

If you disable the default authentication handler, then you need to explicitly pass in the required credentials to access the secured services you use in the sample.

Thanks
Rama

0 Kudos