QT maps SDK : IOS session not persisting

404
2
03-22-2023 10:05 AM
GISiste
Occasional Contributor

Hello @ALL

My mobile app session under IOS doesn't persist after closing : the user needs to login every time to use the application

For my Android version, the user needs to login the first time only, then the session still available for the next times

Technique environment :

AppStudio : 5.1.80

QT : 5.15.2

ArcGIS Runtime SDK for QT : 100.11.2.3121

Does anyone have an idea about this issue

0 Kudos
2 Replies
LucasDanzinger
Esri Frequent Contributor

With the Runtime API itself, the credentials are only stored in memory, so if the app is closed, the credentials will not be persisted. However, I believe AppStudio has secure storage capabilities in the AppFramework that allows you to store credential info (such as token and refresh token) between app sessions - https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-securestorage-securest.... I recommend checking in on the AppStudio space if you have any questions on that.

GISiste
Occasional Contributor

Thanks @LucasDanzinger for your reply. I will test that and let you informed

0 Kudos