{"action":"created","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1283","repository_url":"https://api.github.com/repos/invertase/react-native-firebase","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1283/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1283/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1283/events","html_url":"https://github.com/invertase/react-native-firebase/issues/1283","id":339141224,"node_id":"MDU6SXNzdWUzMzkxNDEyMjQ=","number":1283,"title":"React 0.56 support","user":{"login":"IljaDaderko","id":3154053,"node_id":"MDQ6VXNlcjMxNTQwNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3154053?v=4","gravatar_id":"","url":"https://api.github.com/users/IljaDaderko","html_url":"https://github.com/IljaDaderko","followers_url":"https://api.github.com/users/IljaDaderko/followers","following_url":"https://api.github.com/users/IljaDaderko/following{/other_user}","gists_url":"https://api.github.com/users/IljaDaderko/gists{/gist_id}","starred_url":"https://api.github.com/users/IljaDaderko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IljaDaderko/subscriptions","organizations_url":"https://api.github.com/users/IljaDaderko/orgs","repos_url":"https://api.github.com/users/IljaDaderko/repos","events_url":"https://api.github.com/users/IljaDaderko/events{/privacy}","received_events_url":"https://api.github.com/users/IljaDaderko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Salakar","id":5347038,"node_id":"MDQ6VXNlcjUzNDcwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5347038?v=4","gravatar_id":"","url":"https://api.github.com/users/Salakar","html_url":"https://github.com/Salakar","followers_url":"https://api.github.com/users/Salakar/followers","following_url":"https://api.github.com/users/Salakar/following{/other_user}","gists_url":"https://api.github.com/users/Salakar/gists{/gist_id}","starred_url":"https://api.github.com/users/Salakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salakar/subscriptions","organizations_url":"https://api.github.com/users/Salakar/orgs","repos_url":"https://api.github.com/users/Salakar/repos","events_url":"https://api.github.com/users/Salakar/events{/privacy}","received_events_url":"https://api.github.com/users/Salakar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Salakar","id":5347038,"node_id":"MDQ6VXNlcjUzNDcwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5347038?v=4","gravatar_id":"","url":"https://api.github.com/users/Salakar","html_url":"https://github.com/Salakar","followers_url":"https://api.github.com/users/Salakar/followers","following_url":"https://api.github.com/users/Salakar/following{/other_user}","gists_url":"https://api.github.com/users/Salakar/gists{/gist_id}","starred_url":"https://api.github.com/users/Salakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salakar/subscriptions","organizations_url":"https://api.github.com/users/Salakar/orgs","repos_url":"https://api.github.com/users/Salakar/repos","events_url":"https://api.github.com/users/Salakar/events{/privacy}","received_events_url":"https://api.github.com/users/Salakar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/invertase/react-native-firebase/milestones/10","html_url":"https://github.com/invertase/react-native-firebase/milestone/10","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/milestones/10/labels","id":3464884,"node_id":"MDk6TWlsZXN0b25lMzQ2NDg4NA==","number":10,"title":"v5.0.0 Release","description":"The main focus of this release is landing support for RN v56 - this will not be backwards compatible.","creator":{"login":"Salakar","id":5347038,"node_id":"MDQ6VXNlcjUzNDcwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5347038?v=4","gravatar_id":"","url":"https://api.github.com/users/Salakar","html_url":"https://github.com/Salakar","followers_url":"https://api.github.com/users/Salakar/followers","following_url":"https://api.github.com/users/Salakar/following{/other_user}","gists_url":"https://api.github.com/users/Salakar/gists{/gist_id}","starred_url":"https://api.github.com/users/Salakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salakar/subscriptions","organizations_url":"https://api.github.com/users/Salakar/orgs","repos_url":"https://api.github.com/users/Salakar/repos","events_url":"https://api.github.com/users/Salakar/events{/privacy}","received_events_url":"https://api.github.com/users/Salakar/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":5,"state":"open","created_at":"2018-07-01T13:26:12Z","updated_at":"2018-07-29T20:55:53Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-07-07T12:06:07Z","updated_at":"2018-07-29T20:57:51Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nBEFORE YOU MAKE AN ISSUE\r\n\r\nThe issue list of this repo is exclusively for bug reports.\r\n\r\n1) For feature requests, please use our Canny board: https://react-native-firebase.canny.io/feature-requests\r\n\r\n2) For questions and support please use our Discord chat: https://discord.gg/C9aK28N or Stack Overflow: https://stackoverflow.com/questions/tagged/react-native-firebase\r\n\r\n3) If this is a setup issue then please make sure you've correctly followed the setup guides, most setup issues such as 'duplicate dex files', 'default app has not been initialized' etc are all down to an incorrect setup as the guides haven't been correctly followed.\r\n-->\r\n\r\n### Issue\r\n\r\n<!--- Please write your issue here, provide as much detail as you can, code snippets, key files which will help us to debug such as your `Podfile` and/or `app/build.gradle` file). -->\r\nUpdating to react native v0.56.0 requires flow bin update to ^0.75.0 which results in following errors\r\n```\r\nError ┈┈┈┈┈ node_modules/react-native-firebase/dist/modules/firestore/Query.js.flow:417:20\r\n\r\nProperty fieldpath is missing in NativeFieldPath [1].\r\n\r\n [1]  46│   fieldPath: NativeFieldPath,\r\n        :\r\n     414│           fieldOrder.fieldPath.string\r\n     415│         ) {\r\n     416│           values.push(docSnapshot.get(fieldOrder.fieldPath.string));\r\n     417│         } else if (fieldOrder.fieldPath.fieldpath) {\r\n     418│           const fieldPath = new FieldPath(...fieldOrder.fieldPath.fieldpath);\r\n     419│           values.push(docSnapshot.get(fieldPath));\r\n     420│         }\r\n\r\n\r\nError ┈┈┈┈ node_modules/react-native-firebase/dist/modules/storage/reference.js.flow:77:12\r\n\r\nCannot return new StorageTask(...) because StorageTask [1] is incompatible with\r\nPromise [2].\r\n\r\n     74│    * @return {Promise}\r\n     75│    */\r\n [2] 76│   downloadFile(filePath: string): Promise<Object> {\r\n [1] 77│     return new StorageTask(\r\n     78│       DOWNLOAD_TASK,\r\n     79│       getNativeModule(this._storage).downloadFile(this.path, filePath),\r\n     80│       this\r\n     81│     );\r\n     82│   }\r\n     83│\r\n     84│   /**\r\n\r\n\r\nError ┈┈┈ node_modules/react-native-firebase/dist/modules/storage/reference.js.flow:100:12\r\n\r\nCannot return new StorageTask(...) because StorageTask [1] is incompatible with\r\nPromise [2].\r\n\r\n      97│    */\r\n [2]  98│   putFile(filePath: Object, metadata: Object = {}): Promise<Object> {\r\n      99│     const _filePath = filePath.replace('file://', '');\r\n [1] 100│     return new StorageTask(\r\n     101│       UPLOAD_TASK,\r\n     102│       getNativeModule(this._storage).putFile(this.path, _filePath, metadata),\r\n     103│       this\r\n     104│     );\r\n     105│   }\r\n     106│ }\r\n     107│\r\n\r\n```\r\n\r\n### Environment\r\n\r\n1. Application Target Platform: iOS\r\n\r\n<!--- (e.g. iOS, Android, Both) --->\r\n\r\n2. Development Operating System: macOS High Sierra\r\n\r\n<!--- (e.g. macOS Sierra, Windows 10) --->\r\n\r\n3. Build Tools: Not needed\r\n\r\n<!--- (Xcode or Android Studio version, iOS or Android SDK version - if relevant) --->\r\n\r\n4. `React Native` version: 0.56.0\r\n\r\n<!--- (e.g. 0.52.0) --->\r\n\r\n5. `React Native Firebase` Version: 4.2.0\r\n\r\n<!--- (e.g. 4.2.0) --->\r\n\r\n6. `Firebase` Module: firestore, storage\r\n\r\n<!--- (e.g. database, auth, messaging, analytics etc - or N/A if not applicable) --->\r\n\r\n7. Are you using `typescript`? no\r\n\r\n<!--- yes/no --->\r\n\r\n\r\n---\r\nLoving `react-native-firebase`? Please consider supporting them with any of the below:\r\n\r\n  - 👉  Back financially via [Open Collective](https://opencollective.com/react-native-firebase/donate)  \r\n  - 👉  Follow [`React Native Firebase`](https://twitter.com/rnfirebase) and [`Invertase`](https://twitter.com/invertaseio) on Twitter \r\n  - 👉  Star this repo on GitHub ⭐️\r\n"},"comment":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/comments/408705436","html_url":"https://github.com/invertase/react-native-firebase/issues/1283#issuecomment-408705436","issue_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1283","id":408705436,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODcwNTQzNg==","user":{"login":"Salakar","id":5347038,"node_id":"MDQ6VXNlcjUzNDcwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5347038?v=4","gravatar_id":"","url":"https://api.github.com/users/Salakar","html_url":"https://github.com/Salakar","followers_url":"https://api.github.com/users/Salakar/followers","following_url":"https://api.github.com/users/Salakar/following{/other_user}","gists_url":"https://api.github.com/users/Salakar/gists{/gist_id}","starred_url":"https://api.github.com/users/Salakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salakar/subscriptions","organizations_url":"https://api.github.com/users/Salakar/orgs","repos_url":"https://api.github.com/users/Salakar/repos","events_url":"https://api.github.com/users/Salakar/events{/privacy}","received_events_url":"https://api.github.com/users/Salakar/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T20:57:51Z","updated_at":"2018-07-29T20:57:51Z","author_association":"MEMBER","body":"@smkhalsa hey; we're aiming for a release on the 7th. Thanks"}}
{"actor":{"display_login":"Salakar"}}