I’ve successfully gotten deep linking to work (My application will launch when the user clicks the Twitter card). However, I want to pass additional data to my own scheme (testapp://www.sample.com/read?id=27514372&groupid=8995833). It appears that the Twitter application does not pass the values from the meta data “twitter:app:url:googleplay” to my application. Is this a known bug?
Meta data:
<html>
<meta name="twitter:app:name:googleplay" content="TestApp" />
<meta name="twitter:app:id:googleplay" content="wp.TestApp" />
<meta name="twitter:app:url:googleplay" content="testapp://www.sample.com/read?id=27514372&groupid=8995833" />
<meta name="twitter:creator" content="@Name" />
</html>
In my AndroidManifest.xml, I have the following for my scheme
<xml>
<activity
android:name=".ui.activities.LoginActivity"
android:screenOrientation="nosensor"
android:theme="@style/NoTitleBar"
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<data android:scheme="testapp"/>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
</intent-filter>
</activity>
</xml>
In the onCreate(..) and onStart(..), any calls to getIntent().getData(); will always return null. There is absolutely no data being passed to my application.
Thanks in advance!