{"action":"created","issue":{"url":"https://api.github.com/repos/telerik/nativescript-ui-samples/issues/141","repository_url":"https://api.github.com/repos/telerik/nativescript-ui-samples","labels_url":"https://api.github.com/repos/telerik/nativescript-ui-samples/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/telerik/nativescript-ui-samples/issues/141/comments","events_url":"https://api.github.com/repos/telerik/nativescript-ui-samples/issues/141/events","html_url":"https://github.com/telerik/nativescript-ui-samples/issues/141","id":189164452,"number":141,"title":"JS ERROR ReferenceError: Can't find variable: TKSideDrawerDelegate","user":{"login":"Taremeh","id":1512652,"avatar_url":"https://avatars.githubusercontent.com/u/1512652?v=3","gravatar_id":"","url":"https://api.github.com/users/Taremeh","html_url":"https://github.com/Taremeh","followers_url":"https://api.github.com/users/Taremeh/followers","following_url":"https://api.github.com/users/Taremeh/following{/other_user}","gists_url":"https://api.github.com/users/Taremeh/gists{/gist_id}","starred_url":"https://api.github.com/users/Taremeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taremeh/subscriptions","organizations_url":"https://api.github.com/users/Taremeh/orgs","repos_url":"https://api.github.com/users/Taremeh/repos","events_url":"https://api.github.com/users/Taremeh/events{/privacy}","received_events_url":"https://api.github.com/users/Taremeh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-14T16:51:49Z","updated_at":"2016-11-28T17:25:11Z","closed_at":null,"body":"It seems that an old issue (https://github.com/telerik/nativescript-ui-samples/issues/14) is recurring again...\r\n\r\nTNS version: 2.3.0\r\nPlugin: Only the nativescript-telerik-ui Plugin\r\n\r\n```\r\nfile:///app/tns_modules/nativescript-telerik-ui/sidedrawer/sidedrawer.js:316:67: JS ERROR ReferenceError: Can't find variable: TKSideDrawerDelegate\r\n(UIKitApplication:org.nativescript.myapp[0xcf1e][21838]): Service exited due to Segmentation fault: 11\r\n```\r\nThen the app crashes / closes itself. I searched for a solution, but couldn't figure out how to fix it.\r\n\r\nThe error occurs in the sidedrawer.js file:\r\n`TKSideDrawerDelegateImpl.ObjCProtocols = [TKSideDrawerDelegate];`\r\n\r\nThe only definition of `[TKSideDrawerDelegate]` I found was in \"sidedrawer-ios-map.d.ts\":\r\n\r\n```\r\ndeclare class TKSideDrawerDelegate {\r\n    static new(): TKSideDrawerDelegate;\r\n}\r\n```\r\n\r\nSomehow, \"sidedrawer.js\" doesn't import the declaration of `TKSideDrawerDelegate` from \"sidedrawer-ios-map.d.ts\" correctly. Unfortunately I can't fix it...\r\n\r\nAs I mentioned (https://github.com/telerik/nativescript-ui-samples/issues/14), multiple users are getting the same error. (By the way: The android version works). \r\n\r\nHopefully, someone can fix it..."},"comment":{"url":"https://api.github.com/repos/telerik/nativescript-ui-samples/issues/comments/263335039","html_url":"https://github.com/telerik/nativescript-ui-samples/issues/141#issuecomment-263335039","issue_url":"https://api.github.com/repos/telerik/nativescript-ui-samples/issues/141","id":263335039,"user":{"login":"RooFi07","id":7262558,"avatar_url":"https://avatars.githubusercontent.com/u/7262558?v=3","gravatar_id":"","url":"https://api.github.com/users/RooFi07","html_url":"https://github.com/RooFi07","followers_url":"https://api.github.com/users/RooFi07/followers","following_url":"https://api.github.com/users/RooFi07/following{/other_user}","gists_url":"https://api.github.com/users/RooFi07/gists{/gist_id}","starred_url":"https://api.github.com/users/RooFi07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RooFi07/subscriptions","organizations_url":"https://api.github.com/users/RooFi07/orgs","repos_url":"https://api.github.com/users/RooFi07/repos","events_url":"https://api.github.com/users/RooFi07/events{/privacy}","received_events_url":"https://api.github.com/users/RooFi07/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T17:25:11Z","updated_at":"2016-11-28T17:25:11Z","body":"Do you have any workaround for this? I have the same problem..."}}
{"actor":{"display_login":"RooFi07"}}