# Use localstorage database

**URL:** https://forum.adalo.com/t/use-localstorage-database/28807
**Category:** Get Help
**Created:** [June 28, 2022, 6:53am UTC](https://forum.adalo.com/t/use-localstorage-database/28807 "2022-06-28T06:53:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![UchidaYuma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/uchidayuma/32/20436_2.png) [@UchidaYuma](https://forum.adalo.com/u/UchidaYuma)
#### Post date: [June 28, 2022, 6:53am UTC](https://forum.adalo.com/t/use-localstorage-database/28807/1 "2022-06-28T06:53:54Z")

</div>

Is there any way to use local storage on user smartphone with adalo?

When we develop native apps in adalo, we first have to log in, which causes users to leave early and we would like to solve this problem.

That is why I asked about using local storage, but if anyone knows of any other solutions, could you please let me know?

The app we are developing is a diary app, so a simple key-value store is fine for the database.

I found this component when I looked it up myself, but it does not seem to have been released yet.

> **[GitHub - pragmaflowinc/adalo-local-storage: A component to allow reading and...](https://github.com/pragmaflowinc/adalo-local-storage)**
>
> A component to allow reading and writing key/value pairs through the Adalo platform - GitHub - pragmaflowinc/adalo-local-storage: A component to allow reading and writing key/value pairs through th...

---

<div class="post-metadata">

### Author: ![Flawless](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/flawless/32/20131_2.png) [@Flawless](https://forum.adalo.com/u/Flawless)
#### Post date: [June 28, 2022, 1:14pm UTC](https://forum.adalo.com/t/use-localstorage-database/28807/2 "2022-06-28T13:14:15Z")

</div>

You don’t need local storage for this feature. You can have a true/false parameter for the users called “Onboarding Complete”

When a user has registered, set the default value of the Onboarding Complete parameter to “False”.

You can then direct the users back to your onboarding screen with a condition on the action.

_ **For example:** _

Sign up action \> Link to onboarding screen

Login action \> Link to onboarding screen (if logged-in user \> onboarding complete \> is false) & Link to home (if logged-in user \> onboarding complete \> is true).

You can add a countdown timer to your home screen with the visibility settings sometimes when logged-in user \> onboarding complete \> is false to link the user back to the onboarding process if they have not completed it.

On the last step of your onboarding sequence, update the logged-in user’s onboarding complete parameter to true.

---

<div class="post-metadata">

### Author: ![UchidaYuma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/uchidayuma/32/20436_2.png) [@UchidaYuma](https://forum.adalo.com/u/UchidaYuma)
#### Post date: [June 29, 2022, 2:08am UTC](https://forum.adalo.com/t/use-localstorage-database/28807/3 "2022-06-29T02:08:06Z")

</div>

Hi Flawless .  
Thanks for suggesting a solution.  
However, I apologize for not understanding the intent of the question.

The intent of the question is to use localstorage to reduce the number of users leaving the site due to user signup.

Therefore, localstorage is needed to store data without signup.

---

<div class="post-metadata">

### Author: ![mohmdfawzi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/mohmdfawzi/32/31383_2.png) [@mohmdfawzi](https://forum.adalo.com/u/mohmdfawzi)
#### Post date: [June 29, 2022, 4:43am UTC](https://forum.adalo.com/t/use-localstorage-database/28807/4 "2022-06-29T04:43:10Z")

</div>

You can generate a temp user data (email/password/name) and login in behalf of the user as a temporary account to store the needed information, and once decided to create a real user then sign-out and redirect to signup screen

---

<div class="post-metadata">

### Author: ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)
#### Post date: [June 29, 2022, 6:32am UTC](https://forum.adalo.com/t/use-localstorage-database/28807/5 "2022-06-29T06:32:52Z")

</div>

@DaBoo did this in his app and user’s don’t need to put the details to signup.

You can check the app here : [Drunken English: Second App Finished](https://forum.adalo.com/t/drunken-english-second-app-finished/26901)

You can have a screen like welcome screen ( the screen that user see first ) and add a button and add the Signup action and fill the email,password and id ( a number property ) fields with values.

For the email you can add like user,guest and you can add custom formula that you can add all users \> max +1 inside it ( you need a number property on the Users collection like ID to get max ) and you can add @gmail.com. ( [guest1@gmail.com](mailto:guest1@gmail.com) , [guest2@gmail.com](mailto:guest2@gmail.com) ) For the password you can add guest with that all users max formula. And you can add a link action to Home screen. After if the user needs to update the profile you can add a form with the Update Logged in user option.

You can check this topic created by Colin too : [Guest to User flow tutorial](https://forum.adalo.com/t/guest-to-user-flow-tutorial/9562)

Thank you

---

<div class="post-metadata">

### Author: ![UchidaYuma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/uchidayuma/32/20436_2.png) [@UchidaYuma](https://forum.adalo.com/u/UchidaYuma)
#### Post date: [July 3, 2022, 4:59am UTC](https://forum.adalo.com/t/use-localstorage-database/28807/6 "2022-07-03T04:59:26Z")

</div>

Sorry for the delay in thanking you.  
I still can’t use local storage, so I have to manipulate the database on the developer’s side.  
Thank you very much.

---

<div class="post-metadata">

### Author: ![UchidaYuma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/uchidayuma/32/20436_2.png) [@UchidaYuma](https://forum.adalo.com/u/UchidaYuma)
#### Post date: [July 3, 2022, 5:00am UTC](https://forum.adalo.com/t/use-localstorage-database/28807/7 "2022-07-03T05:00:28Z")

</div>

Sorry for the delay in thanking you.  
Thank you for giving me some specifics on how to do this!  
It certainly doesn’t put a burden on the user this way, so it looks like the abandonment rate will go down.  
I implemented it right away!  
Thanks for your response!

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)
#### Post date: [July 13, 2022, 5:01am UTC](https://forum.adalo.com/t/use-localstorage-database/28807/8 "2022-07-13T05:01:10Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
