{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/android-runtime/issues/243","labels_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/243/comments","events_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/243/events","html_url":"https://github.com/NativeScript/android-runtime/issues/243","id":111540996,"number":243,"title":"Metadata for 3rd party library doesn't seem to be working","user":{"login":"maknz","id":992356,"avatar_url":"https://avatars.githubusercontent.com/u/992356?v=3","gravatar_id":"","url":"https://api.github.com/users/maknz","html_url":"https://github.com/maknz","followers_url":"https://api.github.com/users/maknz/followers","following_url":"https://api.github.com/users/maknz/following{/other_user}","gists_url":"https://api.github.com/users/maknz/gists{/gist_id}","starred_url":"https://api.github.com/users/maknz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maknz/subscriptions","organizations_url":"https://api.github.com/users/maknz/orgs","repos_url":"https://api.github.com/users/maknz/repos","events_url":"https://api.github.com/users/maknz/events{/privacy}","received_events_url":"https://api.github.com/users/maknz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T04:00:05Z","updated_at":"2015-10-15T18:31:13Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm integrating [Raygun4Android](https://github.com/MindscapeHQ/raygun4android) into our NativeScript project. I've made a plugin locally, `nativescript-raygun`. The folder structure looks like so:\r\n\r\n<img width=\"819\" alt=\"screen shot 2015-10-15 at 4 54 20 pm\" src=\"https://cloud.githubusercontent.com/assets/992356/10504490/6bc12dc0-735d-11e5-9ca3-619a3fdcfe1b.png\">\r\n\r\nIt all seems to install properly into our project. The lines from the AndroidManfiest.xml get merged in properly (albeit the XML gets duplicated in subsequent prepares, no biggie). The problem we're having is we can't call the library in JavaScript.\r\n\r\n`main.java.com.mindscapehq.android.raygun4android.RaygunClient.Init` is undefined, whereas it should be a function. As with `main.java.com.mindscapehq.android.raygun4android.RaygunClient.AttachExceptionHandler`. They both come out as undefined.\r\n\r\nIf I log out `Object.keys(main.java.com.mindscapehq.android.raygun4android.RaygunClient)`, there's only `extend,class,RaygunUncaughtExceptionHandler`. `RaygunUncaughtExceptionHandler` is a public inner class of `RaygunClient`. So, the runtime obviously knows about the Raygun classes, but the methods aren't available. My only random thought is that it could be because the methods have been named `Init` instead of `init`?"},"comment":{"url":"https://api.github.com/repos/NativeScript/android-runtime/issues/comments/148481797","html_url":"https://github.com/NativeScript/android-runtime/issues/243#issuecomment-148481797","issue_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/243","id":148481797,"user":{"login":"maknz","id":992356,"avatar_url":"https://avatars.githubusercontent.com/u/992356?v=3","gravatar_id":"","url":"https://api.github.com/users/maknz","html_url":"https://github.com/maknz","followers_url":"https://api.github.com/users/maknz/followers","following_url":"https://api.github.com/users/maknz/following{/other_user}","gists_url":"https://api.github.com/users/maknz/gists{/gist_id}","starred_url":"https://api.github.com/users/maknz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maknz/subscriptions","organizations_url":"https://api.github.com/users/maknz/orgs","repos_url":"https://api.github.com/users/maknz/repos","events_url":"https://api.github.com/users/maknz/events{/privacy}","received_events_url":"https://api.github.com/users/maknz/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T18:31:13Z","updated_at":"2015-10-15T18:31:13Z","body":"Doh, should have searched first. Thanks!\n\nOn Fri, Oct 16, 2015 at 2:08 AM, Georgi Atanasov <notifications@github.com>\nwrote:\n\n> I guess you have hit an already known issue - https://github.com/NativeScript/android-runtime/issues/230. We are working on it and there will be a fix available in 1.5. For now, as a workaround, you will need to manually delete the content of the `platform/android/metadata` folder and to call `gradle clean` within the `platform/android` folder.\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/NativeScript/android-runtime/issues/243#issuecomment-148378953"}}