Set default app scheme to mattermost (#3827)
Was originally set to `mattermost-beta` as per #3767 .
This commit is contained in:
parent
febbbe9f36
commit
331cfcc372
6 changed files with 8 additions and 8 deletions
|
|
@ -39,7 +39,7 @@
|
|||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="mattermost-beta" />
|
||||
<data android:scheme="mattermost" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ jest.mock('react-intl');
|
|||
|
||||
describe('PostList', () => {
|
||||
const serverURL = 'https://server-url.fake';
|
||||
const deeplinkRoot = 'mattermost-beta://server-url.fake';
|
||||
const deeplinkRoot = 'mattermost://server-url.fake';
|
||||
|
||||
const baseProps = {
|
||||
actions: {
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ describe('UrlUtils', () => {
|
|||
describe('matchDeepLink', () => {
|
||||
const SITE_URL = 'http://localhost:8065';
|
||||
const SERVER_URL = 'http://localhost:8065';
|
||||
const DEEPLINK_URL_ROOT = 'mattermost-beta://localhost:8065';
|
||||
const DEEPLINK_URL_ROOT = 'mattermost://localhost:8065';
|
||||
|
||||
const tests = [
|
||||
{name: 'should return null if all inputs are empty', input: {url: '', serverURL: '', siteURL: ''}, expected: null},
|
||||
|
|
|
|||
|
|
@ -394,7 +394,7 @@ platform :ios do
|
|||
)
|
||||
|
||||
# Set the deep link prefix
|
||||
app_scheme = ENV['APP_SCHEME'] || 'mattermost-beta'
|
||||
app_scheme = ENV['APP_SCHEME'] || 'mattermost'
|
||||
update_info_plist(
|
||||
xcodeproj: './ios/Mattermost.xcodeproj',
|
||||
plist_path: 'Mattermost/Info.plist',
|
||||
|
|
@ -597,10 +597,10 @@ platform :android do
|
|||
android_change_package_identifier(newIdentifier: package_id, manifest: './android/app/src/main/AndroidManifest.xml')
|
||||
android_update_application_id(app_folder_name: 'android/app', application_id: package_id)
|
||||
|
||||
app_scheme = ENV['APP_SCHEME'] || 'mattermost-beta'
|
||||
app_scheme = ENV['APP_SCHEME'] || 'mattermost'
|
||||
find_replace_string(
|
||||
path_to_file: "./android/app/src/main/AndroidManifest.xml",
|
||||
old_string: 'scheme="mattermost-beta"',
|
||||
old_string: 'scheme="mattermost"',
|
||||
new_string: "scheme=\'#{app_scheme}\'"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ export BRANCH_TO_BUILD=master
|
|||
export GIT_LOCAL_BRANCH=build
|
||||
|
||||
export APP_NAME="Mattermost Beta"
|
||||
export APP_SCHEME=mattermost-beta
|
||||
export APP_SCHEME=mattermost
|
||||
|
||||
#export INCREMENT_BUILD_NUMBER=false
|
||||
## This sets the version number ex: 1.22.0 if not set it uses the one in the code base
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<string>com.mattermost</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>mattermost-beta</string>
|
||||
<string>mattermost</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
|
|
|
|||
Loading…
Reference in a new issue