If your user model is :rememberable, check your
config/initializers/devise.rb for the config.remember_for line. Default is
2 weeks and the config is commented out by default.


On Wed, Oct 24, 2018 at 2:41 PM Chris McCann <[email protected]> wrote:

> SD Ruby,
>
> I built Airnoise.io using Bootstrap 3 and Devise. It works reasonably well
> on mobile devices using the built-in responsive styling.
>
> Since I don't have the bandwidth presently to build native mobile apps
> many users open the site on their phones and create a shortcut to it on
> their home screen. Many use the app to file noise complaints as a jet is
> flying over their house, so time is of the essence.
>
> Some users have noticed that they have to log back into the app regularly
> on their phones. I see this, too, but I've not figured out what might be
> causing it. This delay in logging in makes users concerned that they're
> going to "miss" a jet flying past them (though that really isn't the case
> given how far away the app looks for traffic -- user education issue).
>
> I don't enforce logging the user out after a period of time via Devise. My
> Google Fu is weak on this one in terms of describing the issue to search
> for answers.
>
> Does anyone have any pointers on how I might address this issue?
>
> If I just build mobile apps that wrap the web site in a web view will I
> have the same issue? Or does the fact that view is running inside a native
> app prevent users from getting logged out?
>
> Thanks in advance!
>
> Chris
>
> --
> --
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby
> ---
> You received this message because you are subscribed to the Google Groups
> "SD Ruby" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to