Skip to content

Commit

Permalink
feat(e2ei): pass ignore ssl certs for apis in dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
mchenani committed Jan 11, 2024
1 parent 7152cdb commit 120a01d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class KaliumConfigsModule {
lowerKeyingMaterialsUpdateThreshold = BuildConfig.PRIVATE_BUILD,
isMLSSupportEnabled = BuildConfig.MLS_SUPPORT_ENABLED,
developmentApiEnabled = BuildConfig.DEVELOPMENT_API_ENABLED,
ignoreSSLCertificatesForUnboundCalls = BuildConfig.IGNORE_SSL_CERTIFICATES,
encryptProteusStorage = runBlocking { globalDataStore.isEncryptedProteusStorageEnabled().first() },
guestRoomLink = BuildConfig.ENABLE_GUEST_ROOM_LINK,
selfDeletingMessages = BuildConfig.SELF_DELETING_MESSAGES,
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/customization/FeatureConfigs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ enum class FeatureConfigs(val value: String, val configType: ConfigType) {
WIPE_ON_ROOTED_DEVICE("wipe_on_rooted_device", ConfigType.BOOLEAN),
WIPE_ON_DEVICE_REMOVAL("wipe_on_device_removal", ConfigType.BOOLEAN),
SELF_DELETING_MESSAGES("self_deleting_messages", ConfigType.BOOLEAN),
IGNORE_SSL_CERTIFICATES("ignore_ssl_certificates", ConfigType.BOOLEAN),

/**
* 3rd party services API Keys and IDs
Expand Down
3 changes: 2 additions & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"logging_enabled": true,
"application_is_private_build": true,
"development_api_enabled": true,
"ignore_ssl_certificates": true,
"mls_support_enabled": true,
"firebase_push_sender_id": "723990470614",
"firebase_app_id": "1:723990470614:android:10cf802bfcc7bb71d28e77",
Expand All @@ -26,7 +27,6 @@
"default_backend_url_blacklist": "https://clientblacklist.wire.com/staging",
"default_backend_url_website": "https://wire.com",
"default_backend_title": "wire-staging",

"is_password_protected_guest_link_enabled": true
},
"staging": {
Expand Down Expand Up @@ -76,6 +76,7 @@
"file_restriction_enabled": false,
"file_restriction_list": "3gpp, aac, amr, avi, bmp, css, csv, dib, doc, docx, eml, flac, gif, html, ico, jfif, jpeg, jpg, jpg-large, key, m4a, m4v, md, midi, mkv, mov, mp3, mp4, mpeg, mpeg3, mpg, msg, ods, odt, ogg, pdf, pjp, pjpeg, png, pps, ppt, pptx, psd, pst, rtf, sql, svg, tex, tiff, txt, vcf, vid, wav, webm, webp, wmv, xls, xlsx, xml",
"force_constant_bitrate_calls": false,
"ignore_ssl_certificates": false,
"mls_support_enabled": true,
"encrypt_proteus_storage": false,
"self_deleting_messages": true,
Expand Down

0 comments on commit 120a01d

Please sign in to comment.