(HTML) Local Storage not accessible on Android

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
Siyaman
Posts: 10
Joined: Tue Nov 26, 2013 7:25 am

(HTML) Local Storage not accessible on Android

Post by Siyaman »

HTML 5 JS API localStorage is not accessible on Android LongRange when using WebView. I'm currently using a Samsung Galaxy S3 with Longrange 1.0.6 with Android 4.2. The same setup on iPhone works without a problem.
My code looks as follows

Code: Select all

function loadUsername() {
    if(isWebStorageSupported()==false) return;
    if (localStorage.username) {
        $scope.username = localStorage.username;
        $scope.isSaveUsername = true;
    }
}
Siyaman Sadagopan | Associate Consultant | LANSA, Inc. – Canada
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: (HTML) Local Storage not accessible on Android

Post by tsupartono »

This is currently being looked at - we'll post some more details once they become available.

Our recommendation for now is to use the SQLite API to store local data (LONGRANGE.SQLDB).
Post Reply