{"action":"created","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/661","repository_url":"https://api.github.com/repos/invertase/react-native-firebase","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/661/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/661/events","html_url":"https://github.com/invertase/react-native-firebase/issues/661","id":278790344,"number":661,"title":"Not receiving Dynamic Link when app is installed from the appstore","user":{"login":"seblau","id":3884582,"avatar_url":"https://avatars2.githubusercontent.com/u/3884582?v=4","gravatar_id":"","url":"https://api.github.com/users/seblau","html_url":"https://github.com/seblau","followers_url":"https://api.github.com/users/seblau/followers","following_url":"https://api.github.com/users/seblau/following{/other_user}","gists_url":"https://api.github.com/users/seblau/gists{/gist_id}","starred_url":"https://api.github.com/users/seblau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seblau/subscriptions","organizations_url":"https://api.github.com/users/seblau/orgs","repos_url":"https://api.github.com/users/seblau/repos","events_url":"https://api.github.com/users/seblau/events{/privacy}","received_events_url":"https://api.github.com/users/seblau/received_events","type":"User","site_admin":false},"labels":[{"id":566539156,"url":"https://api.github.com/repos/invertase/react-native-firebase/labels/awaiting-user-feedback","name":"awaiting-user-feedback","color":"5319e7","default":false},{"id":576623050,"url":"https://api.github.com/repos/invertase/react-native-firebase/labels/firebase-issue","name":"firebase-issue","color":"b60205","default":false},{"id":565970850,"url":"https://api.github.com/repos/invertase/react-native-firebase/labels/ios","name":"ios","color":"c5def5","default":false},{"id":769510160,"url":"https://api.github.com/repos/invertase/react-native-firebase/labels/links","name":"links","color":"fcedc7","default":false}],"state":"closed","locked":false,"assignee":{"login":"Salakar","id":5347038,"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,"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":null,"comments":14,"created_at":"2017-12-03T15:42:48Z","updated_at":"2018-02-06T09:51:46Z","closed_at":"2018-01-31T12:21:51Z","author_association":"NONE","body":"### Issue\r\n\r\nI followed your setup guide and adapted `AppDelegate.m` accordingly. Dynamic Links are working if the app is already installed, but when the app is installed from the appstore, I do not receive the dynamic link. Instead I get the following link: `[CUSTOM_SCHEME]://google/link/?dismiss=1&is_weak_match=1` which indicates that FDL is working correctly but could not extract any dynamic link.\r\n\r\nProbably closely related to: https://github.com/firebase/firebase-ios-sdk/issues/233\r\n\r\n\r\n### Environment\r\n\r\nI am currently testing this by uninstalling the app on the device -> clicking the dynamic link -> redirects to the appstore -> install the app from xcode.\r\n\r\n<!--- (e.g. iOS, Android, Both) --->\r\n1. Application Target Platform: \r\n* iOS \r\n\r\n<!--- (e.g. macOS Sierra, Windows 10) --->\r\n2. Development Operating System: \r\n* macOS 10.11.6\r\n\r\n<!--- (Xcode or Android Studio version, iOS or Android SDK version - if relevant) --->\r\n3. Build Tools: \r\n* Xcode 8.2.1\r\n* iOS 10.2.1\r\n\r\n<!--- (e.g. 0.45.1) --->\r\n4. React Native version: \r\n* react-native@0.43.4\r\n\r\n5. Firebase Module: \r\n* react-native-firebase@3.1.1\r\n\r\n**Podfile.lock**\r\n\r\n```\r\nPODS:\r\n  - Firebase/Core (4.7.0):\r\n    - FirebaseAnalytics (= 4.0.5)\r\n    - FirebaseCore (= 4.0.12)\r\n  - Firebase/DynamicLinks (4.7.0):\r\n    - Firebase/Core\r\n    - FirebaseDynamicLinks (= 2.3.0)\r\n  - Firebase/Messaging (4.7.0):\r\n    - Firebase/Core\r\n    - FirebaseMessaging (= 2.0.7)\r\n  - FirebaseAnalytics (4.0.5):\r\n    - FirebaseCore (~> 4.0)\r\n    - FirebaseInstanceID (~> 2.0)\r\n    - GoogleToolboxForMac/NSData+zlib (~> 2.1)\r\n    - nanopb (~> 0.3)\r\n  - FirebaseCore (4.0.12):\r\n    - GoogleToolboxForMac/NSData+zlib (~> 2.1)\r\n  - FirebaseDynamicLinks (2.3.0):\r\n    - FirebaseAnalytics (~> 4.0)\r\n  - FirebaseInstanceID (2.0.7)\r\n  - FirebaseMessaging (2.0.7):\r\n    - FirebaseAnalytics (~> 4.0)\r\n    - FirebaseCore (~> 4.0)\r\n    - FirebaseInstanceID (~> 2.0)\r\n    - GoogleToolboxForMac/Logger (~> 2.1)\r\n    - Protobuf (~> 3.1)\r\n  - Flurry-iOS-SDK/FlurrySDK (7.10.0)\r\n  - GoogleToolboxForMac/Defines (2.1.3)\r\n  - GoogleToolboxForMac/Logger (2.1.3):\r\n    - GoogleToolboxForMac/Defines (= 2.1.3)\r\n  - GoogleToolboxForMac/NSData+zlib (2.1.3):\r\n    - GoogleToolboxForMac/Defines (= 2.1.3)\r\n  - nanopb (0.3.8):\r\n    - nanopb/decode (= 0.3.8)\r\n    - nanopb/encode (= 0.3.8)\r\n  - nanopb/decode (0.3.8)\r\n  - nanopb/encode (0.3.8)\r\n  - Protobuf (3.5.0)\r\n  - ShoutemFirebase (0.0.1):\r\n    - Firebase/Messaging\r\n  - ShoutemFlurryAnalytics (0.0.1):\r\n    - Flurry-iOS-SDK/FlurrySDK\r\n\r\nDEPENDENCIES:\r\n  - Firebase/Core\r\n  - Firebase/DynamicLinks\r\n  - ShoutemFirebase (from `../node_modules/shoutem.firebase/ShoutemFirebase.podspec`)\r\n  - ShoutemFlurryAnalytics (from `../node_modules/shoutem.flurry-analytics/ShoutemFlurryAnalytics.podspec`)\r\n\r\nEXTERNAL SOURCES:\r\n  ShoutemFirebase:\r\n    :path: \"../node_modules/shoutem.firebase/ShoutemFirebase.podspec\"\r\n  ShoutemFlurryAnalytics:\r\n    :path: \"../node_modules/shoutem.flurry-analytics/ShoutemFlurryAnalytics.podspec\"\r\n\r\nSPEC CHECKSUMS:\r\n  Firebase: dbfb98ccec2dcfcd21ab9cc1b4981a3f3c8c5e26\r\n  FirebaseAnalytics: 5b02a63ead2c3f0259cfc7f15e053e440587ecf8\r\n  FirebaseCore: 6cf108b63997bc08c04a1ffa55a3ac0d71a59ffc\r\n  FirebaseDynamicLinks: b75f5b4dcfc3c9b7889e1283632359e5431264e7\r\n  FirebaseInstanceID: 148c25c986c8699e67304b114e365713dce467f2\r\n  FirebaseMessaging: 1a11d1c0a9ed9b3f75a0685bb0ae5932e1062f5f\r\n  Flurry-iOS-SDK: e6975df9e57010d582bf9bed0f6312553cf24bc2\r\n  GoogleToolboxForMac: 2501e2ad72a52eb3dfe7bd9aee7dad11b858bd20\r\n  nanopb: 5601e6bca2dbf1ed831b519092ec110f66982ca3\r\n  Protobuf: 8a9838fba8dae3389230e1b7f8c104aa32389c03\r\n  ShoutemFirebase: e17b35af2bd18830782e44d9c1e54810905bb784\r\n  ShoutemFlurryAnalytics: d221e35959107eae5c1fc0b6f0a915e1b4fa0cb5\r\n\r\nPODFILE CHECKSUM: 451fdf3d120f58853b797312e12f20e5f5a4b761\r\n\r\nCOCOAPODS: 1.1.1\r\n```"},"comment":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/comments/363369115","html_url":"https://github.com/invertase/react-native-firebase/issues/661#issuecomment-363369115","issue_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/661","id":363369115,"user":{"login":"eduplus","id":2563512,"avatar_url":"https://avatars1.githubusercontent.com/u/2563512?v=4","gravatar_id":"","url":"https://api.github.com/users/eduplus","html_url":"https://github.com/eduplus","followers_url":"https://api.github.com/users/eduplus/followers","following_url":"https://api.github.com/users/eduplus/following{/other_user}","gists_url":"https://api.github.com/users/eduplus/gists{/gist_id}","starred_url":"https://api.github.com/users/eduplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduplus/subscriptions","organizations_url":"https://api.github.com/users/eduplus/orgs","repos_url":"https://api.github.com/users/eduplus/repos","events_url":"https://api.github.com/users/eduplus/events{/privacy}","received_events_url":"https://api.github.com/users/eduplus/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T09:51:46Z","updated_at":"2018-02-06T09:51:46Z","author_association":"NONE","body":"Not sure if this is related or not, but it could be. Have a problem with dynamic link on iOS when the app is not yet installed on the device. Link takes me to the store, then to debug it I install it with XCode, I see the dynamic link is received in the native side in my appdelegate, but when RN side calls for getInitialLink, null is received. \r\n\r\nWhen debugging this library on iOS side, I can see that userActivityDictionary (in getInitialLink method) is empty, which results to no initial link path. When app is already installed, userActivityDictionary has three objects, which makes returning the dynamic link url succeed."}}
{"actor":{"display_login":"eduplus"}}