# Define project specific obfuscation rules here.
# You can include the obfuscation configuration files in the current module's build-profile.json5.
#
# For more details, see
#

# Obfuscation options:
# -disable-obfuscation: disable all obfuscations
# -enable-property-obfuscation: obfuscate the property names
# -enable-toplevel-obfuscation: obfuscate the names in the global scope
# -compact: remove unnecessary blank spaces and all line feeds
# -remove-log: remove all console.* statements
# -print-namecache: print the name cache that contains the mapping from the old names to new names
# -apply-namecache: reuse the given cache file

# Keep options:
# -keep-property-name: specifies property names that you want to keep
# -keep-global-name: specifies names that you want to keep in the global scope

-enable-toplevel-obfuscation
-enable-export-obfuscation
-enable-property-obfuscation

-keep
./src/main/ets/model/BannerNotificationManager.ets
./src/main/ets/backup/BackupExtension.ets
./src/main/ets/backup/CopyDataHelper.ets
./src/main/ets/backup/model/RejectMsgModel.ets
./src/main/ets/common/components/ContactCard.ets
./src/main/ets/common/components/CallList.ets
./src/main/ets/common/components/CallListWithConference.ets
./src/main/ets/common/components/ConferenceDetail.ets
./src/main/ets/common/components/ConferenceTitle.ets
./src/main/ets/common/components/MultiContactCard.ets
./src/main/ets/common/components/LockIncomingCom.ets
./src/main/ets/common/utils/CallUtils.ets
./src/main/ets/common/utils/ArkTool.ts

# specifies property names that you want to keep
-keep-property-name
pageFlag
funcFlag
accountNumber
phoneNumber
VoIPCallId
isFromCallKit
callData
dialogReason
slotId
backToCallUi
isForeign
riskType
AccessibilityUtil
restoresBundleName