{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/capacitor/issues/998","repository_url":"https://api.github.com/repos/ionic-team/capacitor","labels_url":"https://api.github.com/repos/ionic-team/capacitor/issues/998/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/capacitor/issues/998/comments","events_url":"https://api.github.com/repos/ionic-team/capacitor/issues/998/events","html_url":"https://github.com/ionic-team/capacitor/issues/998","id":384000952,"node_id":"MDU6SXNzdWUzODQwMDA5NTI=","number":998,"title":"Custom plugin: CLI writes absolute path to iOS Podfile","user":{"login":"moberwasserlechner","id":1049938,"node_id":"MDQ6VXNlcjEwNDk5Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/1049938?v=4","gravatar_id":"","url":"https://api.github.com/users/moberwasserlechner","html_url":"https://github.com/moberwasserlechner","followers_url":"https://api.github.com/users/moberwasserlechner/followers","following_url":"https://api.github.com/users/moberwasserlechner/following{/other_user}","gists_url":"https://api.github.com/users/moberwasserlechner/gists{/gist_id}","starred_url":"https://api.github.com/users/moberwasserlechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moberwasserlechner/subscriptions","organizations_url":"https://api.github.com/users/moberwasserlechner/orgs","repos_url":"https://api.github.com/users/moberwasserlechner/repos","events_url":"https://api.github.com/users/moberwasserlechner/events{/privacy}","received_events_url":"https://api.github.com/users/moberwasserlechner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-24T16:06:55Z","updated_at":"2018-11-24T21:00:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Using a custom plugin like `npm i @byteowls/capacitor-oauth2 --save` and running one of these commands\r\n```\r\nnpx cap sync ios\r\nnpx cap add ios\r\n```\r\n\r\nthe Capacitor CLI writes a absolute path to `ios/App/Podfile`\r\n\r\n```\r\n  # Automatic Capacitor Pod dependencies, do not delete\r\n  pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'\r\n  pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'\r\n  pod 'ByteowlsCapacitorOauth2', :path => '/Users/moberwasserlechner/development/tc/my-app/node_modules/@byteowls/capacitor-oauth2'\r\n  # Do not delete\r\n```\r\nThe path should be relative because different developers have different development setups.\r\n\r\nIt might happen at https://github.com/ionic-team/capacitor/blob/37e05da31512c2b60e732a979c4d093cc742c233/cli/src/ios/update.ts#L91 but I'm not sure.\r\n\r\nThis occurs both on beta.8 and beta.11\r\n\r\nBR, Michael"},"comment":{"url":"https://api.github.com/repos/ionic-team/capacitor/issues/comments/441395426","html_url":"https://github.com/ionic-team/capacitor/issues/998#issuecomment-441395426","issue_url":"https://api.github.com/repos/ionic-team/capacitor/issues/998","id":441395426,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTM5NTQyNg==","user":{"login":"moberwasserlechner","id":1049938,"node_id":"MDQ6VXNlcjEwNDk5Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/1049938?v=4","gravatar_id":"","url":"https://api.github.com/users/moberwasserlechner","html_url":"https://github.com/moberwasserlechner","followers_url":"https://api.github.com/users/moberwasserlechner/followers","following_url":"https://api.github.com/users/moberwasserlechner/following{/other_user}","gists_url":"https://api.github.com/users/moberwasserlechner/gists{/gist_id}","starred_url":"https://api.github.com/users/moberwasserlechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moberwasserlechner/subscriptions","organizations_url":"https://api.github.com/users/moberwasserlechner/orgs","repos_url":"https://api.github.com/users/moberwasserlechner/repos","events_url":"https://api.github.com/users/moberwasserlechner/events{/privacy}","received_events_url":"https://api.github.com/users/moberwasserlechner/received_events","type":"User","site_admin":false},"created_at":"2018-11-24T21:00:27Z","updated_at":"2018-11-24T21:00:27Z","author_association":"CONTRIBUTOR","body":"Ok good know but is there a way to let the CLI know that I'm not using Cordova. I see a punch of new files after upgrading a project to beta.11. \r\n\r\nOn the other hand I guess the new files do not hurt and might be expected by the CLI."}}
{"actor":{"display_login":"moberwasserlechner"}}