-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branch link only opening Play Store when targeting Android 12 #921
Comments
Any updates on this SDK not redirecting correctly with Android 12? |
The issue is also reproduces in our project. Is there any solution? |
Also reproduces in our project. |
Any updates on this? |
Hi @Garguy, This is on our radar. Could you confirm with us that your Branch domains are properly added as intent-filters within your manifest with i.e |
|
Having the same issue in our project too with OS 12. Everything works fine with the older versions of android os(<=11). |
Hi all, Something we noticed in our testings with Android 12 is the need to explicitly declare the exported boolean property to activities with the Branch intent filters when target SDK version is 31. Could you confirm that android:exported="true" is added to your activity that has the Branch intent filters?
Simultaneously, @Garguy Could you provide us with additional information to help us reproduce, this includes, but is not limited to:
Thank you. |
|
Any updates on this? |
Unfortunately, we are not able to reproduce this. I would strongly suggest filing a ticket with our support team here: https://help.branch.io/using-branch/page/submit-a-ticket So that additional investigation can be performed. |
any update? |
The same issue in our project |
I am having this issue due to setting of It works fine in os 11 and below, but with os 12, its not working when u add a suffix |
@jf-branch I think you can reproduce this by setting applicationIdSuffix within build gradle for android apps. |
I faced the same issue and the fix was to change the android URI scheme on branch dashboard in configuration/general section to our applicationId |
Hi everyone, I think we were unable to reproduce because our test builds do not utilize an applicationIdSuffix. Thank you @Abhishek284 for calling that out and there is another GH Issue thread: #969. We are looking into this further and planning a course of action. We can support multiple package names (prod, debug, qa, etc) along with their corresponding SHA 256 certs on your app.link assetlinks files. After we determine the best course of action, we will follow up here with further guidance. |
@jf-branch Any update ? |
Hi @shubhamhackz , With the release of Android API 31 there have been enforcements with verifications for Android App Links and URI schemes. I would recommend to confirm all your build flavors package names and SHA Certs are declared in your Branch domains (app.link) Assetlinks file (.app.ink/.well-known/assetlinks.json). Additionally if you utilize urls in your link data for params like $canonical_url, $original_url, $fallback_url, $android_url, etc, we scrape those sites for og tags as well as deeplink paths, therefore we utilize those paths for your uri scheme host. I would also confirm all possible deeplink paths are properly delcared for your uri scheme intent filter in your manifest, or utilize a wildcard (*) as your host for your uri scheme intent-filter declaration. |
After release of Android API 31 there are some changes applied by google. |
Hello @jf-branch any update about this issue, I've tried all the above suggested configuration but still OS 12 and above having same problem. Thanks. |
@MuhammadMahrash Check this example app https://github.com/BranchMetrics/AdobeBranchExtension-Android/tree/master/AdobeBranchExample |
Any updates on this issue? |
I have AdobeBranch 1.3.2 integrated into my project and on Android 11(sdk 30) everything works fine. Working to update my project to Android 12(sdk 31) I am no longer able to my Branch links open up my application when installed on emulator. It will open the play store no problem but will not open the installed app on the device. Its always redirecting me to the play store which will say
open
as the device has the application installed on it.No idea why its failing on Android 12 and not Android 11. Any suggestions would be greatly appreciated.
The text was updated successfully, but these errors were encountered: