{"action":"created","issue":{"url":"https://api.github.com/repos/NathanaelA/nativescript-sqlite/issues/50","repository_url":"https://api.github.com/repos/NathanaelA/nativescript-sqlite","labels_url":"https://api.github.com/repos/NathanaelA/nativescript-sqlite/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/NathanaelA/nativescript-sqlite/issues/50/comments","events_url":"https://api.github.com/repos/NathanaelA/nativescript-sqlite/issues/50/events","html_url":"https://github.com/NathanaelA/nativescript-sqlite/issues/50","id":232550821,"number":50,"title":"Can't find variable: sqlite3_open_v2","user":{"login":"jibon57","id":6080277,"avatar_url":"https://avatars1.githubusercontent.com/u/6080277?v=4","gravatar_id":"","url":"https://api.github.com/users/jibon57","html_url":"https://github.com/jibon57","followers_url":"https://api.github.com/users/jibon57/followers","following_url":"https://api.github.com/users/jibon57/following{/other_user}","gists_url":"https://api.github.com/users/jibon57/gists{/gist_id}","starred_url":"https://api.github.com/users/jibon57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jibon57/subscriptions","organizations_url":"https://api.github.com/users/jibon57/orgs","repos_url":"https://api.github.com/users/jibon57/repos","events_url":"https://api.github.com/users/jibon57/events{/privacy}","received_events_url":"https://api.github.com/users/jibon57/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-05-31T12:25:29Z","updated_at":"2017-09-05T12:34:40Z","closed_at":"2017-06-15T20:32:25Z","author_association":"NONE","body":"Hello,\r\n\r\nThanks for the plugin. This is working fine with Android but having problem with IOS.\r\n```\r\n\r\nCONSOLE ERROR file:///app/services/commonServices.js:20:30: We failed to open database ReferenceError: Can't find variable: sqlite3_open_v2\r\nCONSOLE LOG file:///app/services/commonServices.js:21:28: null\r\nCONSOLE ERROR file:///app/tns_modules/@angular/core/./bundles/core.umd.js:1091:24: ERROR Error: Uncaught (in promise): ReferenceError: Can't find variable: sqlite3_open_v2\r\n\r\n```\r\nWhat I did so far:\r\n```\r\nDelete the app off the phone.\r\ntns platform clean ios\r\ntns run ios\r\n```\r\nMy Code:\r\n```\r\nnew Sqlite(\"mydb.db\", function(err, db) {\r\n      if (err) {\r\n        console.error(\"We failed to open database\", err);\r\n\r\n      } \r\n```\r\nMacOS: 10.12.5 (16F73)\r\nXcode: Version 8.3.2 (8E2002)\r\nNativeScript: 3.0.1\r\n"},"comment":{"url":"https://api.github.com/repos/NathanaelA/nativescript-sqlite/issues/comments/327161696","html_url":"https://github.com/NathanaelA/nativescript-sqlite/issues/50#issuecomment-327161696","issue_url":"https://api.github.com/repos/NathanaelA/nativescript-sqlite/issues/50","id":327161696,"user":{"login":"stevegardnersa","id":7735259,"avatar_url":"https://avatars3.githubusercontent.com/u/7735259?v=4","gravatar_id":"","url":"https://api.github.com/users/stevegardnersa","html_url":"https://github.com/stevegardnersa","followers_url":"https://api.github.com/users/stevegardnersa/followers","following_url":"https://api.github.com/users/stevegardnersa/following{/other_user}","gists_url":"https://api.github.com/users/stevegardnersa/gists{/gist_id}","starred_url":"https://api.github.com/users/stevegardnersa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevegardnersa/subscriptions","organizations_url":"https://api.github.com/users/stevegardnersa/orgs","repos_url":"https://api.github.com/users/stevegardnersa/repos","events_url":"https://api.github.com/users/stevegardnersa/events{/privacy}","received_events_url":"https://api.github.com/users/stevegardnersa/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T12:34:40Z","updated_at":"2017-09-05T12:34:40Z","author_association":"NONE","body":"I think it has to do with spaces in the path rather than the length. See my comment here [https://github.com/NathanaelA/nativescript-sqlite/issues/2#issuecomment-327161166](url)"}}
{"actor":{"display_login":"stevegardnersa"}}