TheDemitrius

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Persistent Cache and Data #1735
    TheDemitrius
    Participant

    Hi Piotr, I’m sorry that I’ve not been clear! Let me try again:

    I’m using a Java-based interpreter that uses Local Storage in order to save user data, but data doesn’t seem to be persistent (it will store during sessions, but if I close and reopen the app, the data is gone.)

    What I need is for the data to stay in place, even if the app is closed and reopened. If I’m understanding correctly, it should work as-is?

    Thanks
    ~
    Demi

    in reply to: Persistent Cache and Data #1727
    TheDemitrius
    Participant

    Hi Piotr,

    I want to add local storage support that will last after the app is closed.

    I think that on iOS this is done by adding:

    void _OpenInAppBrowser(char *URL, struct DisplayOptions displayOptions) {
            [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"WebKitStoreWebDataForBackup"];
            NSString *urlAsString = [NSString stringWithUTF8String:URL];
            _ShowURLWithDisplayOptions(urlAsString, displayOptions);
        }

    But I don’t know how to add this to Android

    in reply to: Persistent Cache and Data #1723
    TheDemitrius
    Participant

    Hi Piotr,

    I’ve been browsing the forum searching for solutions, I stumbled upon a post (https://www.kokosoft.pl/forums/topic/localstorage-support/) where you discuss local storage support. Would it be possible to add this for android on here? I can’t edit the compiled .jar, but is there a patched version available I could use?

    Thanks
    ~
    Demi

    • This reply was modified 2 years, 3 months ago by TheDemitrius.
    • This reply was modified 2 years, 3 months ago by TheDemitrius.
    in reply to: Persistent Cache and Data #1722
    TheDemitrius
    Participant

    Hi Piotr,

    At a risk of sounding horribly inexperienced, I can’t find any reference to LocalStorage that I can use – Is it an option that I can enable?

    Thanks

    TheDemitrius
    Participant

    Update: I’ve solved the back-button issue I was having (I missed that part when I read through the instructions the first time!). Added “options.hidesTopBar = true;”.

    As a random development involving the keyboard issue: If I scroll up on the page during the keyboard flickering, the keyboard will sit still. Not sure how to get the flickering to stop permanently though.

    TheDemitrius
    Participant

    -Forgot to mention (because I’m awful) –This is on Android, I haven’t tested iOS yet!

Viewing 6 posts - 1 through 6 (of 6 total)