{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/lottie-react-native/issues/446","repository_url":"https://api.github.com/repos/react-native-community/lottie-react-native","labels_url":"https://api.github.com/repos/react-native-community/lottie-react-native/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/lottie-react-native/issues/446/comments","events_url":"https://api.github.com/repos/react-native-community/lottie-react-native/issues/446/events","html_url":"https://github.com/react-native-community/lottie-react-native/issues/446","id":411068882,"node_id":"MDU6SXNzdWU0MTEwNjg4ODI=","number":446,"title":"add `scale` props","user":{"login":"alikazemkhanloo","id":25160928,"node_id":"MDQ6VXNlcjI1MTYwOTI4","avatar_url":"https://avatars0.githubusercontent.com/u/25160928?v=4","gravatar_id":"","url":"https://api.github.com/users/alikazemkhanloo","html_url":"https://github.com/alikazemkhanloo","followers_url":"https://api.github.com/users/alikazemkhanloo/followers","following_url":"https://api.github.com/users/alikazemkhanloo/following{/other_user}","gists_url":"https://api.github.com/users/alikazemkhanloo/gists{/gist_id}","starred_url":"https://api.github.com/users/alikazemkhanloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikazemkhanloo/subscriptions","organizations_url":"https://api.github.com/users/alikazemkhanloo/orgs","repos_url":"https://api.github.com/users/alikazemkhanloo/repos","events_url":"https://api.github.com/users/alikazemkhanloo/events{/privacy}","received_events_url":"https://api.github.com/users/alikazemkhanloo/received_events","type":"User","site_admin":false},"labels":[{"id":527250724,"node_id":"MDU6TGFiZWw1MjcyNTA3MjQ=","url":"https://api.github.com/repos/react-native-community/lottie-react-native/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-16T12:35:36Z","updated_at":"2019-02-18T08:40:21Z","closed_at":null,"author_association":"NONE","body":"Hi, I wanted to use [this animation](https://lottiefiles.com/344-filter-button) in my app but the problem is there is lots of padding in the original animation. \r\nI tried to use `autoSize` and `resizeMode='cover'`, but no success,\r\nmy code is:\r\n```JavaScript\r\nconst filter = require('../../assets/Filter2.json')\r\n...\r\n<LottieView\r\n                source={filter}\r\n                style={{height:'100%'}}\r\n                speed={2.5}\r\n                ref={(ref)=> this.filterAnimation = ref}\r\n                resizeMode='cover'\r\n                autoSize\r\n                loop={false}\r\n              />\r\n```\r\nif there was a scale prop, I could use that.\r\nI guess it is available in lottie-android as in [this SO answer](https://stackoverflow.com/a/51637543/7787393)"},"comment":{"url":"https://api.github.com/repos/react-native-community/lottie-react-native/issues/comments/464637811","html_url":"https://github.com/react-native-community/lottie-react-native/issues/446#issuecomment-464637811","issue_url":"https://api.github.com/repos/react-native-community/lottie-react-native/issues/446","id":464637811,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NDYzNzgxMQ==","user":{"login":"emilioicai","id":807710,"node_id":"MDQ6VXNlcjgwNzcxMA==","avatar_url":"https://avatars1.githubusercontent.com/u/807710?v=4","gravatar_id":"","url":"https://api.github.com/users/emilioicai","html_url":"https://github.com/emilioicai","followers_url":"https://api.github.com/users/emilioicai/followers","following_url":"https://api.github.com/users/emilioicai/following{/other_user}","gists_url":"https://api.github.com/users/emilioicai/gists{/gist_id}","starred_url":"https://api.github.com/users/emilioicai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilioicai/subscriptions","organizations_url":"https://api.github.com/users/emilioicai/orgs","repos_url":"https://api.github.com/users/emilioicai/repos","events_url":"https://api.github.com/users/emilioicai/events{/privacy}","received_events_url":"https://api.github.com/users/emilioicai/received_events","type":"User","site_admin":false},"created_at":"2019-02-18T08:40:21Z","updated_at":"2019-02-18T08:40:21Z","author_association":"COLLABORATOR","body":"We might introduce this feature after updating to the latest lottie-android"}}
{"actor":{"display_login":"emilioicai"}}