# Indexeddb Problem with some device

**URL:** <https://forum.ionicframework.com/t/indexeddb-problem-with-some-device/92220>\
**Category:** ionic-v3\
**Created:** [May 30, 2017, 1:24am UTC](https://forum.ionicframework.com/t/indexeddb-problem-with-some-device/92220 "2017-05-30T01:24:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessfregoso0](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jessfregoso0](https://forum.ionicframework.com/u/jessfregoso0)\
**Post date:** [May 30, 2017, 1:24am UTC](https://forum.ionicframework.com/t/indexeddb-problem-with-some-device/92220/1 "2017-05-30T01:24:58Z")

</div>

im using indexeddb with ionic 2 but i have a problem with some devices, the app works very well in most of the phone but in 2 phone the indexeddb seen to have an issue and doesnt insert or show something but the callback from the storage is onsuccess function so idk what the problem it is im using ionic 3.0.1 angular 4.0.0 and native indexeddb device problem huawei android 5.1 and huawei android 5.0 but in another huawei 5.1 it works, so im lost please help me

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [May 30, 2017, 2:15am UTC](https://forum.ionicframework.com/t/indexeddb-problem-with-some-device/92220/2 "2017-05-30T02:15:52Z")

</div>

Why aren’t you using [ionic-storage](https://github.com/driftyco/ionic-storage)?

---

<div class="post-metadata">

**Author:** ![jessfregoso0](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jessfregoso0](https://forum.ionicframework.com/u/jessfregoso0)\
**Post date:** [May 30, 2017, 3:27pm UTC](https://forum.ionicframework.com/t/indexeddb-problem-with-some-device/92220/3 "2017-05-30T15:27:06Z")

</div>

because i think that native indexeddb its better and easier that ionic-storage

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [May 30, 2017, 7:00pm UTC](https://forum.ionicframework.com/t/indexeddb-problem-with-some-device/92220/4 "2017-05-30T19:00:54Z")

</div>

I can’t possibly see how you would think that, but OK.

---

<div class="post-metadata">

**Author:** ![jessfregoso0](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jessfregoso0](https://forum.ionicframework.com/u/jessfregoso0)\
**Post date:** [May 30, 2017, 7:04pm UTC](https://forum.ionicframework.com/t/indexeddb-problem-with-some-device/92220/5 "2017-05-30T19:04:53Z")

</div>

i already solved, the problem was the compatibility with es5 and es6 methods for native indexeddb, i learn about dexie js i think is a really good database js library with alot of documentation and it fix all the problem with the compatibility
