Page 1 of 2

local storage prob

Posted: Wed Feb 13, 2013 1:34 pm
by Michael4771079

Hi Marina,
I have a problem I cannot seem to solve,

I have 3 textinputs on profile page "Name, Mobile, Email" all 3 are saved in localstorage on click

on book page all 3 "Name, Mobile, Email" are read on page load, and this info is sent by email through sendgrid

it all works very well except on first install,

when first installed on phone or if I change details of "Name, Mobile, Email"

the next email will not include the details,

( although the sendgrid service thinks everything is ok, gives success result, this is strange because the email field is required to use service)

but if I send a second time all works fine

it just looks to eu that the app does not work
I have check everything I can and I cant find any probs


local storage prob

Posted: Wed Feb 13, 2013 1:39 pm
by Maryna Brodina

Hello Michael! Is this happening on device only or behavior is the same in desktop browser?


local storage prob

Posted: Wed Feb 13, 2013 1:43 pm
by Michael4771079

Thanks Marina,
It is on Both
I haddn't noticed until I was showing someone the workings, and this is what failed


local storage prob

Posted: Wed Feb 13, 2013 1:59 pm
by Maryna Brodina

Just tested with my app - it works. Could you send us your public link?


local storage prob

Posted: Wed Feb 13, 2013 2:05 pm
by Michael4771079

Cheers Marina,
just shared, app name convertedbackandimport


local storage prob

Posted: Wed Feb 13, 2013 2:07 pm
by Maryna Brodina

Thank you. Got it. I'll test


local storage prob

Posted: Wed Feb 13, 2013 2:30 pm
by Maryna Brodina

Doesn't work for me either. Every time I click "Book" button I get this error {"message": "error", "errors": ["Missing destination email"]} inspite I entered destination email on previous screen (Profile screen). Could you clarify please how to reproduce your problem?


local storage prob

Posted: Wed Feb 13, 2013 2:40 pm
by Michael4771079

Hi Marina,
the email you entered is the eu profile email, and this is email that wont work on first attempt, works on second and so on,

destination email is on taxicompanies screen "co name, co email

thanks


local storage prob

Posted: Wed Feb 13, 2013 2:45 pm
by Michael4771079

I should have mentioned
if you make name mobile and email visible on book page you can see the change made on profile page dont take place until book btn is clicked more than once


local storage prob

Posted: Wed Feb 13, 2013 5:34 pm
by Kateryna Grynko

Hello,

On Profile page, user name, his email and phone number are saved to localstorage variables:
nameinput
frominput
mobileinput

But on Book page in mapping, request parameter "text" is formed from localStorage variables
"name"
"mobile"

This inconsistency may lead to sending wrong message.