Thanks for the great Tutorial.I created a db file using DB Browser for SQLite on Mac...I followed all the steps you mentioned but still when I run the App in the local database folder 'library/localdatabase/'. it seems that there is always override on my original database file......
hello, bro i have followed same steps as your for android, in my code database is opening but query is not running in tx.executeSql function. when console tx it is returning some undefined in error and success object. please help me.
I have a little problem. db.transaction((tx) => { console.log('run') // this code is working tx.executeSql('SELECT * FROM users', [], (tx, res) => { console.log('Query completed'); // this code isn't working }); }); Thank you.
@@ItzErHarinder How can I fix it? db.transaction((tx) => { tx.executeSql('SELECT 1 + 1', [], (tx, res) => { console.log("Query completed"); // this code is working }); });
Hey, this tutorial is amazing.. I was trying this from 2 days... Only thing which I missed was npx react-native link. Thanks to you. Please make video tutorials for redux with react-native from scratch.
Thanks alot
After 1.5 month searching on youtube i found your video
That one is awesome
Now I am going to continue my work.
Thanks
Glad to hear that brother 😇🙏🏻
Today I followed exactly the same method. I checked for android but it didn't connect. What is the problem? Please help me
Thanks for the great Tutorial.I created a db file using DB Browser for SQLite on Mac...I followed all the steps you mentioned but still when I run the App in the local database folder 'library/localdatabase/'. it seems that there is always override on my original database file......
Hi bro after done with executesql alert is not coming with length of the row.
It means database is not copied over there. You are missing something.
@@ItzErHarinder ok let me check also FYI I am working with windows 10 and checking in android alone
It should work. Try to delete the app and try again.
how to fix it? my react native v 0.67
hello, bro i have followed same steps as your for android, in my code database is opening but query is not running in tx.executeSql function. when console tx it is returning some undefined in error and success object. please help me.
Clear build folder, delete the app and rebuild again.
@@ItzErHarinder I have cleared build after your suggetion. but i am getting your point of "delete the app"
Delete the app from android device and reinstall.
@@ItzErHarinder I have done this but still it is same postion.
db.transaction((tx) => {
console.log(tx)
tx.executeSql('select * from demo', [], (tx, results) => {
console.log("Query completed");
});
});
{"db": {"dbname": "sqlite.db", "openError": [Function anonymous], "openSuccess": [Function anonymous], "openargs": {"dblocation": "nosync", "name": "sqlite.db"}}, "error": undefined, "executes": [{"error": [Function anonymous], "params": [Array], "sql": "BEGIN", "success": null}], "fn": [Function anonymous], "readOnly": false, "success": undefined, "txlock": true}
NOT executing tx.executeSql
how to fix it? my react native v 0.67
I have a little problem.
db.transaction((tx) => {
console.log('run') // this code is working
tx.executeSql('SELECT * FROM users', [], (tx, res) => {
console.log('Query completed');
// this code isn't working
});
});
Thank you.
May be db is not fetching.
@@ItzErHarinder How can I fix it?
db.transaction((tx) => {
tx.executeSql('SELECT 1 + 1', [], (tx, res) => {
console.log("Query completed");
// this code is working
});
});
hey, i have the same problem, did you fix it?
What are the good option for local storage except for async storage?
Check video from 56 to 60.
Hey, this tutorial is amazing.. I was trying this from 2 days... Only thing which I missed was npx react-native link. Thanks to you. Please make video tutorials for redux with react-native from scratch.
After firebase series; redux will start 😊
Thanks for sharing, you help me a lot.
My pleasure
Thanks, you really help me! As a tip for the next video, try to be more dynamic! Again, thanks!
My pleasure
Hi iam getting error like undefined is not n object at db.transaction
Can we use .sqlite file instead .db file
Nice video sir
Thanks
Hello brother , one suggestion : Do the same video but with Expo !
Thanks for the idea!
@@ItzErHarinder Any progress on a video using react-native-sqlite-storage with Expo?
Hi Bro. Do you know how to "Use pre-populated database file file local storage on phone"
Nice tutorial but please turn off all those click sounds they are pretty annoying or better just turn off the sound.
Okay 😃
thanks. but in android also need to use www folder. I am already hearing thanks to me also :D
👍🏻great
Good video but please improve on the audio quality. There is a lot of annoying sounds
Sure. Thanks 😀🙏🏻
Can anybody know how to use in expo
Please make simple social media using react-native and mysqli
Means?
@@ItzErHarinder means make a simple app which have features like social media using mysql database
Is it possible to make an app like this using mysql and react native?
Chat like app?
@@ItzErHarinder yes