remember login for app

2896
24
08-11-2017 08:44 AM
Lake_Worth_BeachAdmin
Occasional Contributor III

I cannot seem to have the Survey123 App (Android) remember my login credentials. There is a time out range (not sure what it is) but I remain idle for x amount of time it logs out and does not remember my credentials. this is also true if I close the app and reopen it. Other ESRI apps do not do this.

This will be a huge drawback for my field crews who are going to use this.

Is feature non-existent at the moment or am I missing something? 

Tags (2)
24 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Joe,

Survey123 does retain the login; we did have an issue on this that was fixed at 2.0. If you're still experiencing lost login, can you attempt to replicate while creating a log file? Troubleshoot—Survey123 for ArcGIS | ArcGIS 

0 Kudos
roemhildtg
Occasional Contributor III

We have a user whose survey123 will not remain logged in. He is using a Gallaxy S5. 

Nothing too helpful in the logs..from what I can see. (attached). He is just logging into ArcGIS Online with the app.

<15>1 2018-07-25T18:35:25Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="ArcGIS.AppFramework.Core"] ArcGIS.AppFramework.Core: QString AppFramework::userHomePath() Default: "/sdcard"
<12>1 2018-07-25T18:35:25Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] QQmlExpression: Expression qrc:/qml/template/AboutPage.qml:119:28 depends on non-NOTIFYable properties:
<12>1 2018-07-25T18:35:25Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"]     AppFramework::systemInformation
<12>1 2018-07-25T18:35:25Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] libpng warning: iCCP: known incorrect sRGB profile
<15>1 2018-07-25T18:37:29Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="expression for onStateChanged" filename="Portal.qml" line="214"] qml: Application state changed: 2
<15>1 2018-07-25T18:37:29Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="expression for onStateChanged" filename="Portal.qml" line="214"] qml: Application state changed: 0
<15>1 2018-07-25T18:38:13Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="expression for onStateChanged" filename="Portal.qml" line="214"] qml: Application state changed: 4
<15>1 2018-07-25T18:38:13Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="onRunningChanged" filename="Portal.qml" line="582"] qml: Token expiry timer disabled
<15>1 2018-07-25T18:38:13Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="onRunningChanged" filename="Portal.qml" line="580"] qml: Token expiry timer will trigger in 5.42805 minutes
<15>1 2018-07-25T18:38:13Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="reset" filename="Portal.qml" line="614"] qml: Reset token expiry timer: Wed Jul 25 13:44:39 2018 GMT-0500 minutes: 5.42805
<15>1 2018-07-25T18:40:14Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="expression for onStateChanged" filename="Portal.qml" line="214"] qml: Application state changed: 2
<15>1 2018-07-25T18:40:14Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="expression for onStateChanged" filename="Portal.qml" line="214"] qml: Application state changed: 0
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="expression for onStateChanged" filename="Portal.qml" line="214"] qml: Application state changed: 4
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="onRunningChanged" filename="Portal.qml" line="582"] qml: Token expiry timer disabled
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="reset" filename="Portal.qml" line="616"] qml: Triggering expiry action: -146028 < 60000
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="renew" filename="Portal.qml" line="470"] qml: !!! Inside portal renew !!!
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="renew" filename="Portal.qml" line="471"] qml: _<data removed>
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="onReadyStateChanged" filename="Portal.qml" line="490"] qml: oauth token info: {
  "access_token": "<data removed>",
  "expires_in": 1800,
  "username": "<data removed>"
}
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="onRunningChanged" filename="Portal.qml" line="580"] qml: Token expiry timer will trigger in 29 minutes
<15>1 2018-07-25T18:46:05Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="reset" filename="Portal.qml" line="614"] qml: Reset token expiry timer: Wed Jul 25 14:16:05 2018 GMT-0500 minutes: 28.999966666666666
<15>1 2018-07-25T18:46:06Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="onReadyStateChanged" filename="Portal.qml" line="824"] qml: Portal currentVersion: 6.2
<15>1 2018-07-25T18:46:06Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="_checkUserPrivileges" filename="Portal.qml" line="1168"] qml: Checking privileges for: JSundeen_wsbeng
<15>1 2018-07-25T18:46:06Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="onReadyStateChanged" filename="Portal.qml" line="786"] qml: portal user: {
  "access": "org",
  "created": 1516222818000,
  "culture": "en",
  "cultureFormat": null,
  "description": "Environmental Compliance Specialist",
  "disabled": false,
  "email": "<data removed>.com",
  "favGroupId": "<data removed>",
  "firstName": "<data removed>",
  "fullName": "<data removed>",
  "idpUsername": null,
  "lastLogin": 1532544368000,
  "lastName": "<data removed>",
  "level": "2",
  "mfaEnabled": false,
  "modified": 1516916575000,
  "orgId": "<data removed>",
  "preferredView": null,
  "privileges": [
    "features:user:edit",
    "portal:publisher:publishFeatures",
    "portal:publisher:publishScenes",
    "portal:publisher:publishServerServices",
    "portal:publisher:publishTiles",
    "portal:user:categorizeItems",
    "portal:user:createGroup",
    "portal:user:createItem",
    "portal:user:joinGroup",
    "portal:user:joinNonOrgGroup",
    "portal:user:shareGroupToOrg",
    "portal:user:shareGroupToPublic",
    "portal:user:shareToGroup",
    "portal:user:shareToOrg",
    "portal:user:shareToPublic",
    "portal:user:viewOrgGroups",
    "portal:user:viewOrgItems",
    "portal:user:viewOrgUsers",
    "premium:publisher:geoanalytics",
    "premium:publisher:rasteranalysis",
    "premium:user:demographics",
    "premium:user:elevation",
    "premium:user:geocode",
    "premium:user:geoenrichment",
    "premium:user:networkanalysis",
    "premium:user:spatialanalysis"
  ],
  "provider": "arcgis",
  "region": "US",
  "role": "org_publisher",
  "storageQuota": 2199023255552,
  "storageUsage": 497065547401,
  "tags": [],
  "thumbnail": null,
  "units": "english",
  "userType": "arcgisonly",
  "username": ""
}
<15>1 2018-07-25T18:46:08Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="qml" function="closePage" filename="Page.qml" line="162"] qml: backPage undefined
<12>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] libpng warning: iCCP: known incorrect sRGB profile
<12>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] libpng warning: iCCP: known incorrect sRGB profile
<12>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] libpng warning: iCCP: known incorrect sRGB profile
<12>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] libpng warning: iCCP: known incorrect sRGB profile
<12>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] libpng warning: iCCP: known incorrect sRGB profile
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] static QString FileUtility::resolvedPath(const QString&, bool)
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] PermissionUtility::WRITE_EXTERNAL_STORAGE   true
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] static QString FileUtility::resolvedPath(const QString&, bool)
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] PermissionUtility::WRITE_EXTERNAL_STORAGE   true
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] static QByteArray FileUtility::readFile(const QString&)
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] PermissionUtility::READ_EXTERNAL_STORAGE   true
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] static QByteArray FileUtility::readFile(const QString&)
<15>1 2018-07-25T18:46:09Z localhost Survey123forArcGIS 9318 - [AppStudio@11205 category="default"] PermissionUtility::READ_EXTERNAL_STORAGE   true
<15>1 2018-07-25T18:
0 Kudos
by Anonymous User
Not applicable

James,

   I am experiencing the same thing with my Google Pixel XL2 that is running Android OS 8.1.0. I have to re-login every time I open Survey123 after closing out of the app. If I minimize and allow it to run, then it keeps the session open.

0 Kudos
by Anonymous User
Not applicable

Hi Mike,

This is a known issue with 3.0 and Android devices, and has been fixed in an upcoming hotfix we will be releasing next week.

Phil.

Lake_Worth_BeachAdmin
Occasional Contributor III

does this fix apply to enterprise logins?

0 Kudos
FalkoMartin
New Contributor II

Hi Joe,

while searching for an answer for one of my customers I came across your post here. We`re trying to figure out where exactly Survey123 retains the login credentials and whether this is on operating system level or within the app itself. Our customer uses IWA and iOS devices and they'd want to get a better understanding of how their enterprise credentials are handled / stored between sessions since users are not automatically logged off after the app is closed (shutdown) or even after restarting the device. 

Thanks!

Falko

0 Kudos
Lake_Worth_BeachAdmin
Occasional Contributor III

even with the newest release my users are still logged out, most of them have to re-login via enterprise logins every morning

0 Kudos
BrandonArmstrong
Esri Regular Contributor

Hi Gregg Roemhildtand Mike Bruening,

The issue related to credentials not being remembered after closing and reopening the app on Android devices was identified as a bug in Survey123 3.0 and will be addressed with a hot-fix shortly.  We will update when the hot-fix goes out.

Best,

Brandon

Lake_Worth_BeachAdmin
Occasional Contributor III

does this fix apply to enterprise logins?

0 Kudos