title: Facebook app request opens Google Play instead of the installed app
body: <p>A while ago(maybe a year back), we have implemented a "send gift" app request feature with Facebook sdk on iOS and Android. We are using v3.19 fb sdk on Android and v3.24 on iOS. The app request has action_type as well as object_id. Things are working fine back then.</p>
  
  <p>recently we noticed that Android deep linking no longer works. When a player receive a gift app request on Facebook app, and click on that notification, it redirect to Google Play Store instead of launching our app. </p>
  
  <p>looking at logcat, looks like Facebook just try to open Google Play Store</p>
  
  <pre><code>02-18 20:11:15.624: I/ActivityManager(587): START u0 {act=android.intent.action.VIEW dat=market://details?id=myapp_id&amp;referrer=utm_source=apps.facebook.com&amp;utm_campaign=fb4a&amp;utm_content=%7B%22app%22%3A469616456758238%2C%22t%22%3A1455123006%7D&amp;fb_source=notification flg=0x10000000 cmp=com.android.vending/com.google.android.finsky.activities.LaunchUrlHandlerActivity (has extras)} from pid 5289
  </code></pre>
  
  <p>we have enabled deep link in Facebook developer settings and added Key Hash. This problem does not occur on iOS, on iOS clicking on the notification in Fb app will launch our iOS app.</p>
  
  <p>There's a post that is very similar to this one <a href="https://stackoverflow.com/questions/20079070/facebook-deep-link-opens-google-play-instead-of-app-even-when-installed">Facebook deep link opens Google Play instead of app (even when installed)</a>. The post mentioned we need to add the following to the manifest, does this mean our old version of the app no longer works without the code block? Also we don't have a scheme for our app, where can we define it? and does it mean when we send gift, we need to use that scheme?</p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.VIEW" /&gt;
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;data android:scheme="myapp"/&gt;
  &lt;/intent-filter&gt;
  </code></pre>