[X] This issue is not security related and can safely be disclosed publicly on GitHub
Java version
1.8
Android version
Android 14
Android SDK version
34.0.0
Installation platform & version
Maven
Package
AppLinks
Goals
The deferred deep link should be in working state.
Expected results
If i select both the tickmarks in facebook ads helper (send notification and send deferred) than it should send me an notification with deferred deep link data.
Actual results
For us the deferred deep link is not working .
whenever we are trying to test it , first of all if we are clicking on both the ticks(send notification and send deferred) in facebook ads helper deep link testing tool than its showing
We are only able to select the send notification.
After clicking on send notification we are recieveing an notification to our device and if we open it than we are getting the appLinkData as null.
I tried to contact facebook support team also multiple times but not get any response.
Also i have created an issue in the facebook community .
https://developers.facebook.com/community/threads/821881229791969/
And for testing we using
https://developers.facebook.com/tools/app-ads-helper/?id=925486975940053
And we followed the following steps for testing.
On the testing webpage, We selected the app, and clicked "Deep Link Tester"
After filling the "deep link" and selecting send notification tick box, we clicked "Send to Android".
Now in the Mobile FB App we got a notification mentioned "Tap to launch your deep link"
Now uninstalled our app then click on the button "Tap to launch your deep link"
It took us to the play store to download our app.
Here we installed our app from Android Studio in Debug mode.
But for each testing, we were getting "appLinkData null"
And if we selects both the ticks than we are getting a popup with a message
"The link has been queued and is pending you doing a first app launch on your device. This means you need to delete the app, then re-install and open your app. Please first verify your app can handle deferred deep linking by checking the iOS and Android setup information located above."
We did a lot of debugging and troubleshoot but did not get any success.
So the result of our findings is as follows.
This Account Facebook App is having some issues.
Its opening the app but the "appLinkData" it giving value null.
Code samples & details
public class MainActivity extends BaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
FacebookSdk.setAutoInitEnabled(true);
FacebookSdk.fullyInitialize();
Log.d(TAG, "onCreate: Initializing MainActivity and FacebookSdk");
AppLinkData.fetchDeferredAppLinkData(this, new AppLinkData.CompletionHandler() {
@Override
public void onDeferredAppLinkDataFetched(AppLinkData appLinkData) {
Log.d(TAG, "onDeferredAppLinkDataFetched: AppLinkData: " + appLinkData);
if (appLinkData != null) {
} else {
}
}
});
}
}
The below code is for the AndroidManifest.xml
<activity
android:name=".MainActivity"
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="example"
android:host="app"
/>
</intent-filter>
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>
The Below one is from build.gradle file
implementation 'com.facebook.android:facebook-android-sdk:16.0.0'
implementation 'com.facebook.android:facebook-core:[12.2.0]'
implementation 'com.facebook.android:facebook-applinks:[12.2.0]'
Checklist before submitting a bug report
Java version
1.8
Android version
Android 14
Android SDK version
34.0.0
Installation platform & version
Maven
Package
AppLinks
Goals
The deferred deep link should be in working state.
Expected results
If i select both the tickmarks in facebook ads helper (send notification and send deferred) than it should send me an notification with deferred deep link data.
Actual results
For us the deferred deep link is not working . whenever we are trying to test it , first of all if we are clicking on both the ticks(send notification and send deferred) in facebook ads helper deep link testing tool than its showing We are only able to select the send notification. After clicking on send notification we are recieveing an notification to our device and if we open it than we are getting the appLinkData as null. I tried to contact facebook support team also multiple times but not get any response. Also i have created an issue in the facebook community . https://developers.facebook.com/community/threads/821881229791969/
Steps to reproduce
Facebook SDK Version [v16.0.0]
Device models [Android 11, Lenovo TB-7306F]
We were implementing Deferred Deeplink with our app. For this, we went through the following documentation. https://developers.facebook.com/docs/app-ads/deep-linking/ This way, we completed our implementation.
And for testing we using https://developers.facebook.com/tools/app-ads-helper/?id=925486975940053 And we followed the following steps for testing. On the testing webpage, We selected the app, and clicked "Deep Link Tester" After filling the "deep link" and selecting send notification tick box, we clicked "Send to Android". Now in the Mobile FB App we got a notification mentioned "Tap to launch your deep link" Now uninstalled our app then click on the button "Tap to launch your deep link" It took us to the play store to download our app. Here we installed our app from Android Studio in Debug mode. But for each testing, we were getting "appLinkData null" And if we selects both the ticks than we are getting a popup with a message "The link has been queued and is pending you doing a first app launch on your device. This means you need to delete the app, then re-install and open your app. Please first verify your app can handle deferred deep linking by checking the iOS and Android setup information located above." We did a lot of debugging and troubleshoot but did not get any success.
So the result of our findings is as follows. This Account Facebook App is having some issues. Its opening the app but the "appLinkData" it giving value null.
Code samples & details