Replace argument FragmentActivity to Activity in SQLitePlugin
I think Activity must be by default as type of this argument.
i will take a look at this.
Yes agree. I should have been an Activity from start. I am making this change now.
Done. Thanks for your suggestion Alex.
@andpor Thanks you for good module ! This module helped me on ios with improve sqlite performance! From 2m to 2s for 20k rows, timing on react-native code ! I expected will the same result on Android, but that did not happen, may be you known methods to fetch 10k rows with time 0.5s ? Now is time 6s. P.S.: Sorry for my English, is not my native language.
Well, I will have a supposedly faster adapter for Android ready within the next few days - the current one uses default Android classes which could be on the slow side. Hopefully it will give you the spread improvement you are looking for I hope. I do not know the exact timings unfortunately. Very excited about this myself too - and very happy you managed to improve so much on iOS already. Спасибо тебе друг.
... and I can't take full credit - core work done by Chris Brody
Sure he deserves thanks for the excellent library. :+1:
Thanks guys, I think was a team effort. If you look at https://github.com/litehelpers/Cordova-sqlite-storage/blob/master-public/AUTHORS.md, I extracted a couple major parts from DroidGap and others wrote the iOS and WP8 versions. Some others made major contributions in the first couple years. The original SQLite Plugin was made by @davibe and @joenoon for iOS and I forked it to add more and more features.
I will take credit for maintaining it since it has taken a lot of work on my part for the past few years. I am thinking about writing a HISTORY.md file for those who may be interested in the future.
@brodybits Thank you for information and your work ! And HISTORY.md good idea.
@barbarosh - check out the project under android-native and tell me what kind of timings you experience vs the original Android implementation. Hope it will be much better - fingers crossed.