{"action":"created","issue":{"url":"https://api.github.com/repos/appium/ruby_lib/issues/350","labels_url":"https://api.github.com/repos/appium/ruby_lib/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/appium/ruby_lib/issues/350/comments","events_url":"https://api.github.com/repos/appium/ruby_lib/issues/350/events","html_url":"https://github.com/appium/ruby_lib/issues/350","id":104704006,"number":350,"title":"method app_installed? always returning true.","user":{"login":"wili3","id":10865355,"avatar_url":"https://avatars.githubusercontent.com/u/10865355?v=3","gravatar_id":"","url":"https://api.github.com/users/wili3","html_url":"https://github.com/wili3","followers_url":"https://api.github.com/users/wili3/followers","following_url":"https://api.github.com/users/wili3/following{/other_user}","gists_url":"https://api.github.com/users/wili3/gists{/gist_id}","starred_url":"https://api.github.com/users/wili3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wili3/subscriptions","organizations_url":"https://api.github.com/users/wili3/orgs","repos_url":"https://api.github.com/users/wili3/repos","events_url":"https://api.github.com/users/wili3/events{/privacy}","received_events_url":"https://api.github.com/users/wili3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-03T14:12:08Z","updated_at":"2015-09-03T14:59:13Z","closed_at":null,"body":"I'm trying to verify if the facebook app is installed so, I'm calling the method 'app_installed?' with the arg 'com.facebook'.\r\n\r\nThe problem is that no matter what argument I send to this method, because is always returning true.\r\n\r\napp_installed? 'com.example' \r\n=> true\r\n\r\nI though that the server was checking the bundle Id of the app provided in the capabilities but the server log shows the same string that I send to the method app_installed?.\r\n\r\nthis is the server log after call that method.\r\n\r\ninfo: --> POST /wd/hub/session/898faf54-f2b3-4c12-bc73-eb2c468ca7a8/appium/device/app_installed {\"bundleId\":\"blablabla\"}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":true,\"sessionId\":\"898faf54-f2b3-4c12-bc73-eb2c468ca7a8\"}\r\ninfo: <-- POST /wd/hub/session/898faf54-f2b3-4c12-bc73-eb2c468ca7a8/appium/device/app_installed 200 1558.014 ms - 76 {\"status\":0,\"value\":true,\"sessionId\":\"898faf54-f2b3-4c12-bc73-eb2c468ca7a8\"}\r\n \r\nI don't know if it's a bug or if I'm doing something wrong.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/ruby_lib/issues/comments/137476967","html_url":"https://github.com/appium/ruby_lib/issues/350#issuecomment-137476967","issue_url":"https://api.github.com/repos/appium/ruby_lib/issues/350","id":137476967,"user":{"login":"wili3","id":10865355,"avatar_url":"https://avatars.githubusercontent.com/u/10865355?v=3","gravatar_id":"","url":"https://api.github.com/users/wili3","html_url":"https://github.com/wili3","followers_url":"https://api.github.com/users/wili3/followers","following_url":"https://api.github.com/users/wili3/following{/other_user}","gists_url":"https://api.github.com/users/wili3/gists{/gist_id}","starred_url":"https://api.github.com/users/wili3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wili3/subscriptions","organizations_url":"https://api.github.com/users/wili3/orgs","repos_url":"https://api.github.com/users/wili3/repos","events_url":"https://api.github.com/users/wili3/events{/privacy}","received_events_url":"https://api.github.com/users/wili3/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T14:59:13Z","updated_at":"2015-09-03T14:59:13Z","body":"app_installed? 'com.example'\r\n=> true\r\n\r\ninfo: --> POST /wd/hub/session/7593b59e-96de-4dce-a993-130c60630ddb/appium/device/app_installed {\"bundleId\":\"com.example\"}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":true,\"sessionId\":\"7593b59e-96de-4dce-a993-130c60630ddb\"}\r\ninfo: <-- POST /wd/hub/session/7593b59e-96de-4dce-a993-130c60630ddb/appium/device/app_installed 200 1549.961 ms - 76 {\"status\":0,\"value\":true,\"sessionId\":\"7593b59e-96de-4dce-a993-130c60630ddb\"}"}}