Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite DB not accessible in iOS #789

Closed
vageesans opened this issue May 28, 2018 · 7 comments
Closed

SQLite DB not accessible in iOS #789

vageesans opened this issue May 28, 2018 · 7 comments

Comments

@vageesans
Copy link

Hi

I had an existing app with sqlite db, we updated ionic and Cordova, removed and added platform iOS (4.5.4). Its an ionic v1 sidemenu app.

It works as expected in Android and Web.

In iOS, The app builds successfully.
But the DB Select statement is not getting executed.
It freezes.

@brodycj
Copy link
Contributor

brodycj commented Jun 3, 2018

Please post the smallest demo possible that is complete and self-contained to demonstrate this issue. Major bonus if you can make the demo without Ionic, using https://github.com/brodybits/cordova-sqlite-storage-starter-app (testing with Ionic and Angular frameworks is very limited).

@Ilyoskhuja
Copy link

I have same problem in my ionic app (sqlite: 4.7.0)

@Enoges
Copy link

Enoges commented Jun 27, 2018

Same problem here.
How can I give you info that you need??

@brodycj
Copy link
Contributor

brodycj commented Jun 29, 2018

To get help with Ionic I would recommend that you guys file an issue on Ionic Native, along with a project that can demonstrate the issue. Plugins should be specified in config.xml (recent versions of Cordova CLI will do this automatically), artifacts in plugins and platforms directories should not be included. Project on GitHub would be best, project ZIP on DropBox would be OK as well.

There are plenty of existing samples that should be working on all supported platforms. I would recommend a process of changing one thing at a time to determine what does and does not work on all platforms.

For priority, commercial support please contact sales@litehelpers.net for more information.

@Enoges
Copy link

Enoges commented Jul 2, 2018

I search and i can't found an iOS correct sample.
Can you post some of that plenty of existing samples, pls?

@brodycj
Copy link
Contributor

brodycj commented Jul 2, 2018

Recommended starting point for Ionic 3: https://github.com/iursevla/ionic3-PreDB (uses cordova-sqlite-ext plugin version)

Recommended starting point without Ionic: https://github.com/brodybits/cordova-sqlite-storage-starter-app

Closing for now due to lack of reproduction. In case anyone can demonstrate an issue with this plugin and post the demo I would be very happy to take a look.

@brodycj
Copy link
Contributor

brodycj commented Jul 2, 2018

P.S. I just discovered that the recommended starting point for Ionic 3 is missing in the documentation, will be part of upcoming major release ref: #773

I would also like to see Ionic 4 starting point, just raised #796.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants