title: android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify
body: <p>After upgrading to android 12, the application is not compiling. It shows</p>
  <blockquote>
  <p>&quot;Manifest merger failed with multiple errors, see logs&quot;</p>
  </blockquote>
  <p>Error showing in Merged manifest:</p>
  <blockquote>
  <p>Merging Errors:
  Error: android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for <code>android:exported</code> when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. main manifest (this file)</p>
  </blockquote>
  <p>I have set all the activity with <code>android:exported=&quot;false&quot;</code>. But it is still showing this issue.</p>
  <p>My manifest file:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      package=&quot;eu.siacs.conversations&quot;&gt;
  
      &lt;uses-sdk tools:overrideLibrary=&quot;net.ypresto.androidtranscoder&quot; /&gt;
  
      &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.READ_CONTACTS&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.READ_PROFILE&quot; /&gt;
      &lt;uses-permission
          android:name=&quot;android.permission.READ_PHONE_STATE&quot;
          android:maxSdkVersion=&quot;22&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.WAKE_LOCK&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.RECEIVE_BOOT_COMPLETED&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.VIBRATE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.ACCESS_COARSE_LOCATION&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.ACCESS_WIFI_STATE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.FOREGROUND_SERVICE&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.REQUEST_INSTALL_PACKAGES&quot; /&gt;
  
      &lt;uses-feature
          android:name=&quot;android.hardware.location&quot;
          android:required=&quot;false&quot; /&gt;
      &lt;uses-feature
          android:name=&quot;android.hardware.location.gps&quot;
          android:required=&quot;false&quot; /&gt;
      &lt;uses-feature
          android:name=&quot;android.hardware.location.network&quot;
          android:required=&quot;false&quot; /&gt;
  
      &lt;uses-permission android:name=&quot;android.permission.CAMERA&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.RECORD_AUDIO&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.BLUETOOTH&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.MODIFY_AUDIO_SETTINGS&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.USE_FULL_SCREEN_INTENT&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.SYSTEM_ALERT_WINDOW&quot; /&gt;
  
      &lt;uses-feature
          android:name=&quot;android.hardware.camera&quot;
          android:required=&quot;false&quot; /&gt;
      &lt;uses-feature
          android:name=&quot;android.hardware.camera.autofocus&quot;
          android:required=&quot;false&quot; /&gt;
      &lt;uses-feature
          android:name=&quot;android.hardware.microphone&quot;
          android:required=&quot;false&quot; /&gt;
  
      &lt;application
          android:name=&quot;.Application&quot;
          android:allowBackup=&quot;false&quot;
          android:allowClearUserData=&quot;true&quot;
          android:appCategory=&quot;social&quot;
          android:hardwareAccelerated=&quot;true&quot;
          android:icon=&quot;@mipmap/ic_app_launch&quot;
          android:label=&quot;@string/app_name&quot;
          android:largeHeap=&quot;true&quot;
          android:networkSecurityConfig=&quot;@xml/network_security_configuration&quot;
          android:requestLegacyExternalStorage=&quot;true&quot;
          android:roundIcon=&quot;@mipmap/ic_app_launch_round&quot;
          android:theme=&quot;@style/ConversationsTheme&quot;
          android:usesCleartextTraffic=&quot;true&quot;
          android:windowSoftInputMode=&quot;adjustPan|adjustResize&quot;
          tools:replace=&quot;android:label&quot;
          tools:targetApi=&quot;q&quot;&gt;
          &lt;activity
              android:name=&quot;.ui.search.GroupSearchActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.profileUpdating.FavouritesActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.profileUpdating.NameActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.CompulsoryUpdateActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity android:name=&quot;.ui.payments.doPayment.DoPaymentActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity android:name=&quot;.ui.individualList.IndividualListActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity android:name=&quot;.ui.payments.setPayment.SetPaymentActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity android:name=&quot;.ui.login.otpActivity.OTPActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity android:name=&quot;.ui.login.loginActivity.LoginActivity&quot;
              android:exported=&quot;true&quot; /&gt;
  
          &lt;service android:name=&quot;.services.XmppConnectionService&quot; android:exported=&quot;true&quot; /&gt;
  
          &lt;receiver android:name=&quot;.services.EventReceiver&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.BOOT_COMPLETED&quot; /&gt;
                  &lt;action android:name=&quot;android.net.conn.CONNECTIVITY_CHANGE&quot; /&gt;
                  &lt;action android:name=&quot;android.intent.action.ACTION_SHUTDOWN&quot; /&gt;
                  &lt;action android:name=&quot;android.media.RINGER_MODE_CHANGED&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
          &lt;activity
              android:name=&quot;.ui.ShareLocationActivity&quot;
              android:label=&quot;@string/title_activity_share_location&quot;
              android:exported=&quot;true&quot;/&gt;
          &lt;activity
              android:name=&quot;.ui.SearchActivity&quot;
              android:label=&quot;@string/search_messages&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.RecordingActivity&quot;
              android:configChanges=&quot;orientation|screenSize&quot;
              android:theme=&quot;@style/ConversationsTheme.Dialog&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.ShowLocationActivity&quot;
              android:label=&quot;@string/title_activity_show_location&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.SplashActivity&quot;
              android:theme=&quot;@style/SplashTheme&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=&quot;.ui.ConversationsActivity&quot;
              android:label=&quot;@string/app_name&quot;
              android:launchMode=&quot;singleTask&quot;
              android:minWidth=&quot;300dp&quot;
              android:minHeight=&quot;300dp&quot;
              android:exported=&quot;true&quot;
              android:windowSoftInputMode=&quot;stateHidden&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.ScanActivity&quot;
              android:screenOrientation=&quot;portrait&quot;
              android:exported=&quot;true&quot;
              android:theme=&quot;@style/ConversationsTheme.FullScreen&quot;
              android:windowSoftInputMode=&quot;stateAlwaysHidden&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.UriHandlerActivity&quot;
              android:label=&quot;@string/app_name&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
  
                  &lt;data android:scheme=&quot;xmpp&quot; /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter android:autoVerify=&quot;true&quot;&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
  
                  &lt;data android:scheme=&quot;https&quot; /&gt;
                  &lt;data android:host=&quot;im.app.in&quot; /&gt;
                  &lt;data android:pathPrefix=&quot;/i/&quot; /&gt;
                  &lt;data android:pathPrefix=&quot;/j/&quot; /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.SENDTO&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
  
                  &lt;data android:scheme=&quot;imto&quot; /&gt;
                  &lt;data android:host=&quot;jabber&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=&quot;.ui.StartConversationActivity&quot;
              android:label=&quot;@string/title_activity_start_conversation&quot;
              android:launchMode=&quot;singleTop&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=&quot;.ui.SettingsActivity&quot;
              android:label=&quot;@string/title_activity_settings&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.NOTIFICATION_PREFERENCES&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=&quot;.ui.ChooseContactActivity&quot;
              android:label=&quot;@string/title_activity_choose_contact&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.BlocklistActivity&quot;
              android:label=&quot;@string/title_activity_block_list&quot;
              android:exported=&quot;true&quot;/&gt;
          &lt;activity
              android:name=&quot;.ui.ChangePasswordActivity&quot;
              android:label=&quot;@string/change_password_on_server&quot;
              android:exported=&quot;true&quot;/&gt;
          &lt;activity
              android:name=&quot;.ui.ChooseAccountForProfilePictureActivity&quot;
              android:enabled=&quot;false&quot;
              android:label=&quot;@string/choose_account&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter android:label=&quot;@string/set_profile_picture&quot;&gt;
                  &lt;action android:name=&quot;android.intent.action.ATTACH_DATA&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
  
                  &lt;data android:mimeType=&quot;image/*&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=&quot;.ui.ShareViaAccountActivity&quot;
              android:label=&quot;@string/title_activity_share_via_account&quot;
              android:launchMode=&quot;singleTop&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.EditAccountActivity&quot;
              android:launchMode=&quot;singleTop&quot;
              android:exported=&quot;true&quot;
              android:windowSoftInputMode=&quot;stateHidden|adjustResize&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.ConferenceDetailsActivity&quot;
              android:label=&quot;@string/action_muc_details&quot;
              android:exported=&quot;true&quot;
              android:windowSoftInputMode=&quot;stateHidden&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.ContactDetailsActivity&quot;
              android:exported=&quot;true&quot;
              android:windowSoftInputMode=&quot;stateHidden&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.PublishProfilePictureActivity&quot;
              android:label=&quot;@string/mgmt_account_publish_avatar&quot;
              android:exported=&quot;true&quot;
              android:windowSoftInputMode=&quot;stateHidden&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.PublishGroupChatProfilePictureActivity&quot;
              android:exported=&quot;true&quot;
              android:label=&quot;@string/group_chat_avatar&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.ShareWithActivity&quot;
              android:label=&quot;@string/app_name&quot;
              android:launchMode=&quot;singleTop&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.SEND&quot; /&gt;
                  &lt;action android:name=&quot;android.intent.action.SEND_MULTIPLE&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
  
                  &lt;data android:mimeType=&quot;text/plain&quot; /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.SEND&quot; /&gt;
                  &lt;action android:name=&quot;android.intent.action.SEND_MULTIPLE&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
  
                  &lt;data android:mimeType=&quot;*/*&quot; /&gt;
              &lt;/intent-filter&gt;
  
              &lt;!-- the value here needs to be the full class name; independent of the configured applicationId --&gt;
              &lt;meta-data
                  android:name=&quot;android.service.chooser.chooser_target_service&quot;
                  android:value=&quot;eu.siacs.conversations.services.ContactChooserTargetService&quot; /&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=&quot;.ui.TrustKeysActivity&quot;
              android:label=&quot;@string/trust_omemo_fingerprints&quot;
              android:exported=&quot;true&quot;
              android:windowSoftInputMode=&quot;stateAlwaysHidden&quot; /&gt;
          &lt;activity
              android:name=&quot;com.theartofdev.edmodo.cropper.CropImageActivity&quot;
              android:exported=&quot;true&quot;
              android:theme=&quot;@style/Base.Theme.AppCompat&quot; /&gt;
          &lt;activity android:name=&quot;.ui.MemorizingActivity&quot;
              android:exported=&quot;true&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.MediaBrowserActivity&quot;
              android:exported=&quot;true&quot;
              android:label=&quot;@string/media_browser&quot; /&gt;
  
          &lt;service android:name=&quot;.services.ExportBackupService&quot; android:exported=&quot;true&quot;/&gt;
          &lt;service android:name=&quot;.services.ImportBackupService&quot; android:exported=&quot;true&quot;/&gt;
          &lt;service
              android:name=&quot;.services.ContactChooserTargetService&quot;
              android:permission=&quot;android.permission.BIND_CHOOSER_TARGET_SERVICE&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.service.chooser.ChooserTargetService&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
          &lt;service android:name=&quot;.services.CompulsoryUpdateService&quot; android:exported=&quot;true&quot;/&gt;
  
          &lt;provider
              android:name=&quot;androidx.core.content.FileProvider&quot;
              android:authorities=&quot;${applicationId}.files&quot;
              android:exported=&quot;false&quot;
              android:grantUriPermissions=&quot;true&quot;&gt;
              &lt;meta-data
                  android:name=&quot;android.support.FILE_PROVIDER_PATHS&quot;
                  android:resource=&quot;@xml/file_paths&quot; /&gt;
          &lt;/provider&gt;
          &lt;provider
              android:name=&quot;.services.BarcodeProvider&quot;
              android:authorities=&quot;${applicationId}.barcodes&quot;
              android:exported=&quot;false&quot;
              android:grantUriPermissions=&quot;true&quot; /&gt;
  
          &lt;activity
              android:name=&quot;.ui.ShortcutActivity&quot;
              android:label=&quot;@string/contact&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.CREATE_SHORTCUT&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=&quot;.ui.MucUsersActivity&quot;
              android:exported=&quot;true&quot;
              android:label=&quot;@string/group_chat_members&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.ChannelDiscoveryActivity&quot;
              android:exported=&quot;true&quot;
              android:label=&quot;@string/discover_channels&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.RtpSessionActivity&quot;
              android:autoRemoveFromRecents=&quot;true&quot;
              android:exported=&quot;true&quot;
              android:launchMode=&quot;singleInstance&quot;
              android:supportsPictureInPicture=&quot;true&quot; /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  <p>My second manifest file:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      package=&quot;eu.siacs.conversations&quot;&gt;
  
      &lt;application tools:ignore=&quot;GoogleAppIndexingWarning&quot;&gt;
          &lt;activity
              android:name=&quot;.ui.ManageAccountActivity&quot;
              android:label=&quot;@string/title_activity_manage_accounts&quot;
              android:launchMode=&quot;singleTask&quot;
              android:exported=&quot;true&quot;/&gt;
          &lt;activity
              android:name=&quot;.ui.MagicCreateActivity&quot;
              android:label=&quot;@string/create_new_account&quot;
              android:launchMode=&quot;singleTask&quot;
              android:exported=&quot;true&quot;/&gt;
          &lt;activity
              android:name=&quot;.ui.EasyOnboardingInviteActivity&quot;
              android:label=&quot;@string/invite_to_app&quot;
              android:launchMode=&quot;singleTask&quot; /&gt;
          &lt;activity
              android:name=&quot;.ui.ImportBackupActivity&quot;
              android:label=&quot;@string/restore_backup&quot;
              android:launchMode=&quot;singleTask&quot;
              android:exported=&quot;true&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
  
                  &lt;data android:mimeType=&quot;application/vnd.conversations.backup&quot; /&gt;
                  &lt;data android:scheme=&quot;content&quot; /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
  
                  &lt;data android:mimeType=&quot;application/vnd.conversations.backup&quot; /&gt;
                  &lt;data android:scheme=&quot;file&quot; /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
  
                  &lt;data android:scheme=&quot;content&quot; /&gt;
                  &lt;data android:host=&quot;*&quot; /&gt;
                  &lt;data android:mimeType=&quot;*/*&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\..*\\..*\\..*\\.ceb&quot; /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
                  &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
  
                  &lt;data android:scheme=&quot;file&quot; /&gt;
                  &lt;data android:host=&quot;*&quot; /&gt;
                  &lt;data android:mimeType=&quot;*/*&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\..*\\..*\\.ceb&quot; /&gt;
                  &lt;data android:pathPattern=&quot;.*\\..*\\..*\\..*\\..*\\..*\\..*\\.ceb&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  
  </code></pre>
  <p>My gradle file:</p>
  <pre><code>import com.android.build.OutputFile
  
  // Top-level build file where you can add configuration options common to all
  // sub-projects/modules.
  buildscript {
      ext.kotlin_version = &quot;1.5.21&quot;
      repositories {
          google()
          mavenCentral()
          maven { url 'https://jitpack.io' }
          gradlePluginPortal()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:4.2.2'
          classpath 'com.google.gms:google-services:4.3.8'
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
      }
  }
  
  apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply plugin: 'kotlin-kapt'
  apply plugin: 'com.google.gms.google-services'
  
  repositories {
      google()
      mavenCentral()
      jcenter()
      maven { url 'https://jitpack.io' }
  }
  
  configurations {
      conversationsFreeCompatImplementation
  }
  
  dependencies {
      implementation 'androidx.viewpager:viewpager:1.0.0'
      implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  
      implementation &quot;org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version&quot;
  
      implementation 'org.sufficientlysecure:openpgp-api:10.0'
      implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
      implementation 'androidx.appcompat:appcompat:1.3.1'
      implementation 'androidx.exifinterface:exifinterface:1.3.2'
      implementation 'androidx.cardview:cardview:1.0.0'
      implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
      implementation 'androidx.emoji:emoji:1.1.0'
      implementation 'com.google.android.material:material:1.4.0'
      conversationsFreeCompatImplementation 'androidx.emoji:emoji-bundled:1.1.0'
      implementation 'org.bouncycastle:bcmail-jdk15on:1.64'
      //zxing stopped supporting Java 7 so we have to stick with 3.3.3
      //https://github.com/zxing/zxing/issues/1170
      implementation 'com.google.zxing:core:3.4.1'
      implementation 'de.measite.minidns:minidns-hla:0.2.4'
      implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
      implementation 'org.whispersystems:signal-protocol-java:2.8.1'
      implementation 'com.makeramen:roundedimageview:2.3.0'
      implementation &quot;com.wefika:flowlayout:0.4.1&quot;
      implementation 'net.ypresto.androidtranscoder:android-transcoder:0.3.0'
      implementation 'org.jxmpp:jxmpp-jid:1.0.1'
      implementation 'org.osmdroid:osmdroid-android:6.1.10'
      implementation 'org.hsluv:hsluv:0.2'
      implementation 'org.conscrypt:conscrypt-android:2.5.2'
      implementation 'me.drakeet.support:toastcompat:1.1.0'
      implementation &quot;com.leinardi.android:speed-dial:3.2.0&quot;
  
      implementation &quot;com.squareup.retrofit2:retrofit:2.9.0&quot;
      implementation &quot;com.squareup.retrofit2:converter-gson:2.9.0&quot;
      implementation &quot;com.squareup.okhttp3:okhttp:5.0.0-alpha.2&quot;
      implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2'
  
      implementation 'com.google.guava:guava:30.1.1-android'
      implementation 'org.webrtc:google-webrtc:1.0.32006'
  
      // Lifecycle Helper
      implementation &quot;androidx.activity:activity-ktx:1.3.0-rc02&quot;
      implementation &quot;androidx.fragment:fragment-ktx:1.3.6&quot;
  
      //Navigation
      implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
      implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
  
      //CardView
      implementation &quot;androidx.cardview:cardview:1.0.0&quot;
  
      //Country Code Picker
      implementation 'com.hbb20:ccp:2.5.3'
  
      //Firebase
      implementation 'com.google.firebase:firebase-bom:28.3.0'
      implementation 'com.google.firebase:firebase-auth-ktx:21.0.1'
      implementation 'androidx.browser:browser:1.3.0'
  
      //OTP view
      implementation 'com.github.mukeshsolanki:android-otpview-pinview:2.1.2'
  
      //Retrofit
      implementation 'com.squareup.retrofit2:retrofit:2.9.0'
      implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  
      //Gson
      implementation 'com.google.code.gson:gson:2.8.7'
  
      //Multidex
      implementation 'androidx.multidex:multidex:2.0.1'
  
      //Round Image
      implementation 'de.hdodenhof:circleimageview:3.1.0'
  
      // Button with image and text
      implementation 'com.github.Omega-R:OmegaCenterIconButton:0.0.4@aar'
  
      //Razor pay
      implementation 'com.razorpay:checkout:1.6.10'
  
      //Mixpanel Tracking
      implementation 'com.mixpanel.android:mixpanel-android:5.9.1'
  
      //Loading screen
      implementation 'com.wang.avi:library:2.1.3'
  
      //Loading
      implementation 'com.wang.avi:library:2.1.3'
  
      //Form
      implementation 'com.quickbirdstudios:surveykit:1.1.0'
  }
  
  ext {
      travisBuild = System.getenv(&quot;TRAVIS&quot;) == &quot;true&quot;
      preDexEnabled = System.getProperty(&quot;pre-dex&quot;, &quot;true&quot;)
      abiCodes = ['armeabi-v7a': 1, 'x86': 2, 'x86_64': 3, 'arm64-v8a': 4]
  }
  
  android {
      compileSdkVersion 31
  
      defaultConfig {
          minSdkVersion 24
          targetSdkVersion 31
          versionCode 44
          versionName &quot;2.0.4&quot;
          multiDexEnabled = true
          archivesBaseName += &quot;-$versionName&quot;
          applicationId &quot;com.app.app&quot;
          resValue &quot;string&quot;, &quot;applicationId&quot;, applicationId
          def appName = &quot;app&quot;
          resValue &quot;string&quot;, &quot;app_name&quot;, appName
          buildConfigField &quot;String&quot;, &quot;APP_NAME&quot;, &quot;\&quot;$appName\&quot;&quot;
      }
  
      splits {
          abi {
              universalApk true
              enable true
          }
      }
  
      configurations {
          compile.exclude group: 'org.jetbrains' , module:'annotations'
      }
  
      dataBinding {
          enabled true
      }
  
      dexOptions {
          // Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
          preDexLibraries = preDexEnabled &amp;&amp; !travisBuild
          jumboMode true
      }
  
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
  
      flavorDimensions(&quot;mode&quot;, &quot;distribution&quot;, &quot;emoji&quot;)
  
      productFlavors {
  
          conversations {
              dimension &quot;mode&quot;
          }
          free {
              dimension &quot;distribution&quot;
              versionNameSuffix &quot;+f&quot;
          }
          compat {
              dimension &quot;emoji&quot;
              versionNameSuffix &quot;c&quot;
          }
      }
  
      sourceSets {
          conversationsFreeCompat {
              java {
                  srcDir 'src/freeCompat/java'
                  srcDir 'src/conversationsFree/java'
              }
          }
      }
  
      buildTypes {
          release {
              shrinkResources true
              minifyEnabled true
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
              versionNameSuffix &quot;r&quot;
          }
          debug {
              shrinkResources true
              minifyEnabled true
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
              versionNameSuffix &quot;d&quot;
          }
      }
  
  
      if (new File(&quot;signing.properties&quot;).exists()) {
          Properties props = new Properties()
          props.load(new FileInputStream(file(&quot;signing.properties&quot;)))
  
          signingConfigs {
              release {
                  storeFile file(props['keystore'])
                  storePassword props['keystore.password']
                  keyAlias props['keystore.alias']
                  keyPassword props['keystore.password']
              }
          }
          buildTypes.release.signingConfig = signingConfigs.release
      }
  
      lintOptions {
          disable 'MissingTranslation', 'InvalidPackage','AppCompatResource'
      }
  
      subprojects {
  
          afterEvaluate {
              if (getPlugins().hasPlugin('android') ||
                      getPlugins().hasPlugin('android-library')) {
  
                  configure(android.lintOptions) {
                      disable 'AndroidGradlePluginVersion', 'MissingTranslation'
                  }
              }
  
          }
      }
  
      packagingOptions {
          exclude 'META-INF/BCKEY.DSA'
          exclude 'META-INF/BCKEY.SF'
      }
  
      android.applicationVariants.all { variant -&gt;
          variant.outputs.each { output -&gt;
              def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
              if (baseAbiVersionCode != null) {
                  output.versionCodeOverride = (100 * variant.versionCode) + baseAbiVersionCode
              }
          }
  
      }
  }
  </code></pre>