facebook

local storage on cell phone

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #333134

    alexander
    Member

    Hi together,

    I tried to use both java scripts you suggested, but no result is delivered that the local phone storage uses the member id and passcode which I saved within the test center or by using the web app after getting from the cloud.

    What have I done:

    1.a I took your template http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=2251. changed the fields as I need them userid and passcode. I add the form submit handler to be able to deliver the stored details of needed userid and passcode to our Web-URL as POST.

    1.b. Then I tried it out it works so far to be able to log in to our website. But the passcode and username will not be stored, if I deactivate the app on iphone and reactivate the app, the data is not avaible or stored.

    I put the
    Java Code:
    localStorage.getItem(key)
    localStorage.setItem(key,value)
    localStorage.clear()
    addidtional in each field of java of the form, but also it works not.

    1. c. Then I put in the different java code also to be used from your example
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=2250&hilit=login+storage

    Java Code:
    var key = “pid”;
    var data = $(“#mbr”).val();
    localStorage.setItem(key,data);
    key=”pwd”;
    data= $(“#pwd”).val();
    localStorage.setItem(key,data);

    AND also no result of stored data after reactivation at iPhone.

    What I want to mention is. If I try to store the data I get the message on the iPhone that on URL: http.//2point2v2.mobioneappcenter.appspot.com – the data has saved.
    BUT this URL seems not right, because the details should be stored on local iphone I thougt?

    Please help to find out what I have done wrong.

    Greetings

    Alexander

    #333229

    Hi Alexander,

    We have not forgoten you, we was shorthanded last week and have a long list of support cases, we will review your issue tomorrow (Tue 11). In the meantime, I’ll appreciate you send us your project for isolate the problem faster and the scenario that we should follow to replicate the problem and what we should expect from these steps. Send it via support at genuitec dot com, use title: mobione data from alexander

Viewing 2 posts - 16 through 17 (of 17 total)
Reply To: local storage on cell phone

You must be logged in to post in the forum log in