-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix Deep Links not working on Android 12+ #10128
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
Changes from 5 commits
6a1741f
0d21e9e
33ef541
b1ccedf
e55f74d
921bf0c
fa5ccf8
15f6dc4
93e92b1
f5ecc63
c0844c0
01b905e
2fb9853
99b0890
c8aa9fa
9904c07
6399644
695862c
1b4fa01
3e01ca4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[{ | ||
"relation": ["delegate_permission/common.handle_all_urls"], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "com.expensify.chat", | ||
"sha256_cert_fingerprints": ["2E:65:6F:1C:34:F5:7E:BF:FC:C0:2D:A3:14:0E:83:FE:61:51:F2:9B:5D:59:58:61:C4:4D:A9:99:0C:CA:F4:8E"] | ||
} | ||
}] |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -29,23 +29,24 @@ | |||||
<activity | ||||||
android:name=".bootsplash.BootSplashActivity" | ||||||
android:theme="@style/BootTheme" | ||||||
android:launchMode="singleTask"> | ||||||
android:launchMode="singleTask" | ||||||
android:exported="true"> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The value for According to Android docs:
Our app component includes the LAUNCHER category There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahh! I see. |
||||||
|
||||||
<intent-filter> | ||||||
<intent-filter android:autoVerify="true"> | ||||||
<action android:name="android.intent.action.MAIN" /> | ||||||
<category android:name="android.intent.category.LAUNCHER" /> | ||||||
</intent-filter> | ||||||
|
||||||
<!-- Custom URI handlers. Used to intercept Urban Airship deep links. --> | ||||||
<intent-filter> | ||||||
<intent-filter android:autoVerify="true"> | ||||||
<action android:name="android.intent.action.VIEW"/> | ||||||
<category android:name="android.intent.category.DEFAULT"/> | ||||||
<category android:name="android.intent.category.BROWSABLE"/> | ||||||
<data android:scheme="new-expensify"/> | ||||||
</intent-filter> | ||||||
|
||||||
<!-- Web URL handlers. Used to intercept web links. --> | ||||||
<intent-filter> | ||||||
<intent-filter android:autoVerify="true"> | ||||||
<action android:name="android.intent.action.VIEW"/> | ||||||
<category android:name="android.intent.category.DEFAULT"/> | ||||||
<category android:name="android.intent.category.BROWSABLE"/> | ||||||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct? Or we have to change it. The gpg key in the codebase is encrypted if you used that to get the signature.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I extracted it from the New Expensify's APK from the Play Store, so it should probably work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AndrewGable Could you please verify this? https://developer.android.com/training/app-links/verify-site-associations#web-assoc .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AndrewGable might be a bit slow to respond this week… He's getting married 😅 💍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, definitely he won't be able to respond. In that case, @deetergp Could you please check the signature? https://developer.android.com/training/app-links/verify-site-associations#web-assoc has details to get the signature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.. Please let's double check this..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified in Google Play store and it is correct!

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @luacmartins