{"action":"created","issue":{"url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/208","repository_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free","labels_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/208/comments","events_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/208/events","html_url":"https://github.com/ratson/cordova-plugin-admob-free/pull/208","id":318390289,"number":208,"title":"Fix not showing production ads on iOS","user":{"login":"MBuchalik","id":8061217,"avatar_url":"https://avatars2.githubusercontent.com/u/8061217?v=4","gravatar_id":"","url":"https://api.github.com/users/MBuchalik","html_url":"https://github.com/MBuchalik","followers_url":"https://api.github.com/users/MBuchalik/followers","following_url":"https://api.github.com/users/MBuchalik/following{/other_user}","gists_url":"https://api.github.com/users/MBuchalik/gists{/gist_id}","starred_url":"https://api.github.com/users/MBuchalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MBuchalik/subscriptions","organizations_url":"https://api.github.com/users/MBuchalik/orgs","repos_url":"https://api.github.com/users/MBuchalik/repos","events_url":"https://api.github.com/users/MBuchalik/events{/privacy}","received_events_url":"https://api.github.com/users/MBuchalik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-27T12:25:23Z","updated_at":"2018-04-27T12:37:17Z","closed_at":"2018-04-27T12:35:11Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/pulls/208","html_url":"https://github.com/ratson/cordova-plugin-admob-free/pull/208","diff_url":"https://github.com/ratson/cordova-plugin-admob-free/pull/208.diff","patch_url":"https://github.com/ratson/cordova-plugin-admob-free/pull/208.patch"},"body":"I had the following problem: When testing ads using the iOS simulator and also when using the AdMob Test ID provided by Google, ads did show correctly. But as soon as I added a production banner ID, suddenly there was only a blank space where the ad should have been. The reason for that is the \"forChild\" setting: If ``` self.forChild ``` is nil, the first if statement actually returns true (see e.g. https://stackoverflow.com/questions/5466738/iphone-comparing-a-nil-nsstring-with-another-valued-nsstring-returns-nsordered ). This PR adds a check for this situation."},"comment":{"url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/comments/384957624","html_url":"https://github.com/ratson/cordova-plugin-admob-free/pull/208#issuecomment-384957624","issue_url":"https://api.github.com/repos/ratson/cordova-plugin-admob-free/issues/208","id":384957624,"user":{"login":"ratson","id":2682937,"avatar_url":"https://avatars1.githubusercontent.com/u/2682937?v=4","gravatar_id":"","url":"https://api.github.com/users/ratson","html_url":"https://github.com/ratson","followers_url":"https://api.github.com/users/ratson/followers","following_url":"https://api.github.com/users/ratson/following{/other_user}","gists_url":"https://api.github.com/users/ratson/gists{/gist_id}","starred_url":"https://api.github.com/users/ratson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratson/subscriptions","organizations_url":"https://api.github.com/users/ratson/orgs","repos_url":"https://api.github.com/users/ratson/repos","events_url":"https://api.github.com/users/ratson/events{/privacy}","received_events_url":"https://api.github.com/users/ratson/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T12:37:17Z","updated_at":"2018-04-27T12:37:17Z","author_association":"OWNER","body":"@MBuchalik Thank you, will publish a release soon."}}
{"actor":{"display_login":"ratson"}}