Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
fenix
Commits
43f5ac08
Unverified
Commit
43f5ac08
authored
Aug 20, 2020
by
Matthew Finkel
Browse files
Bug 40020: Change deeplink scheme
parent
99b2f577
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
43f5ac08
...
...
@@ -32,7 +32,7 @@ android {
resValue
"bool"
,
"IS_DEBUG"
,
"false"
buildConfigField
"boolean"
,
"USE_RELEASE_VERSIONING"
,
"false"
buildConfigField
"String"
,
"AMO_COLLECTION"
,
"\"83a9cccfe6e24a34bd7b155ff9ee32\""
def
deepLinkSchemeValue
=
"
fenix
-dev"
def
deepLinkSchemeValue
=
"
torbrowser
-dev"
buildConfigField
"String"
,
"DEEP_LINK_SCHEME"
,
"\"$deepLinkSchemeValue\""
manifestPlaceholders
=
[
"deepLinkScheme"
:
deepLinkSchemeValue
...
...
@@ -65,14 +65,14 @@ android {
nightly
releaseTemplate
>>
{
applicationIdSuffix
".torbrowser_nightly"
buildConfigField
"boolean"
,
"USE_RELEASE_VERSIONING"
,
"true"
def
deepLinkSchemeValue
=
"
fenix
-nightly"
def
deepLinkSchemeValue
=
"
torbrowser
-nightly"
buildConfigField
"String"
,
"DEEP_LINK_SCHEME"
,
"\"$deepLinkSchemeValue\""
manifestPlaceholders
=
[
"deepLinkScheme"
:
deepLinkSchemeValue
]
}
beta
releaseTemplate
>>
{
buildConfigField
"boolean"
,
"USE_RELEASE_VERSIONING"
,
"true"
applicationIdSuffix
".torbrowser_alpha"
def
deepLinkSchemeValue
=
"
fenix-bet
a"
def
deepLinkSchemeValue
=
"
torbrowser-alph
a"
buildConfigField
"String"
,
"DEEP_LINK_SCHEME"
,
"\"$deepLinkSchemeValue\""
manifestPlaceholders
=
[
// This release type is meant to replace Firefox (Beta channel) and therefore needs to inherit
...
...
@@ -89,7 +89,7 @@ android {
release
releaseTemplate
>>
{
buildConfigField
"boolean"
,
"USE_RELEASE_VERSIONING"
,
"true"
applicationIdSuffix
".torbrowser"
def
deepLinkSchemeValue
=
"
fenix
"
def
deepLinkSchemeValue
=
"
torbrowser
"
buildConfigField
"String"
,
"DEEP_LINK_SCHEME"
,
"\"$deepLinkSchemeValue\""
manifestPlaceholders
=
[
// This release type is meant to replace Firefox (Release channel) and therefore needs to inherit
...
...
app/src/main/java/org/mozilla/fenix/components/Components.kt
View file @
43f5ac08
...
...
@@ -96,7 +96,7 @@ class Components(private val context: Context) {
onNotificationClickIntent
=
Intent
(
context
,
HomeActivity
::
class
.
java
).
apply
{
action
=
Intent
.
ACTION_VIEW
flags
=
Intent
.
FLAG_ACTIVITY_NEW_TASK
or
Intent
.
FLAG_ACTIVITY_CLEAR_TASK
data
=
"
fenix
://settings_addon_manager"
.
toUri
()
data
=
"
${BuildConfig.DEEP_LINK_SCHEME}
://settings_addon_manager"
.
toUri
()
}
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment