facebook / facebook-android-sdk

Used to integrate Android apps with Facebook Platform.
https://developers.facebook.com/docs/android
Other
6.07k stars 3.64k forks source link

Feature Request: Allow to provide the Deep Linking > Android Class name at runtime. #1200

Open trietbui85 opened 10 months ago

trietbui85 commented 10 months ago

Checklist before submitting a feature request

Goals

image My app already have Facebook deeplink support ( https://developers.facebook.com/docs/android/deep-linking ), with the target activity is com.app.MyMainActivity. It works for years.

But now, due to code refactoring, the target activity would be change to com.app.main.MyMainActivity. However, in the UI to set the Class Name, I can only input one target Activity.

So, if I set the com.app.main.MyMainActivity, would it breaks the old app version (which still uses com.app.MyMainActivity)?

I wonder if from my codebase (with Facebook Android Sdk), I can set the Class Name instead of setting from Facebook Developer page.

Expected results

From codebase (with Facebook Android Sdk), there should be a method to set the Class Name instead of setting from Facebook Developer page.

Code samples & details

// INSERT YOUR CODE HERE