Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/flipcash/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ android {

lint {
checkReleaseBuilds = false
baseline = file("lint-baseline.xml")
}

compileOptions {
Expand Down
380 changes: 380 additions & 0 deletions apps/flipcash/app/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,380 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 9.2.1" type="baseline" client="gradle" dependencies="false" name="AGP (9.2.1)" variant="all" version="9.2.1">

<issue
id="MissingClass"
message="Class referenced in the manifest, `dev.bmcreations.phantom.connect.wallet.PhantomWalletCallbackActivity`, was not found in the project or the libraries"
errorLine1=" android:name=&quot;dev.bmcreations.phantom.connect.wallet.PhantomWalletCallbackActivity&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="227"
column="27"/>
</issue>

<issue
id="AppLinkWarning"
message="This intent filter has the format of an Android App Link but is missing the `autoVerify` attribute; add `android:autoVerify=&quot;true&quot;` to ensure your domain will be validated and enable App Link-related Lint warnings. If you do not want clicked URLs to bring the user to your app, remove the `android.intent.category.BROWSABLE` category, or set `android:autoVerify=&quot;false&quot;` to make it clear this is not intended to be an Android App Link."
errorLine1=" &lt;intent-filter>"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="231"
column="14"/>
</issue>

<issue
id="DefaultUncaughtExceptionDelegation"
message="Must call `getDefaultUncaughtExceptionHandler()` to get the existing handler, and call `existingHandler.uncaughtException(thread, throwable)` from your new handler"
errorLine1=" Thread.setDefaultUncaughtExceptionHandler { _, throwable ->"
errorLine2=" ^">
<location
file="src/main/kotlin/com/flipcash/app/MainActivity.kt"
line="184"
column="5"/>
</issue>

<issue
id="LockedOrientationActivity"
message="Expecting `android:screenOrientation=&quot;unspecified&quot;` or `&quot;fullSensor&quot;` for this activity so the user can use the application in any orientation and provide a great experience on Chrome OS devices"
errorLine1=" android:screenOrientation=&quot;portrait&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="71"
column="13"/>
</issue>

<issue
id="NonResizeableActivity"
message="Expecting `android:resizeableActivity=&quot;true&quot;` for this activity so the user can take advantage of the multi-window environment on all devices. NOTE: beginning with Android 12, all apps run in multi-window mode on large screen devices."
errorLine1=" android:resizeableActivity=&quot;false&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="70"
column="13"/>
</issue>

<issue
id="DiscouragedApi"
message="Setting `resizeableActivity` to `false` will be ignored in most cases, starting from Android 16. Android is moving toward a model where apps are expected to adapt to various orientations, display sizes, and aspect ratios."
errorLine1=" android:resizeableActivity=&quot;false&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="70"
column="13"/>
</issue>

<issue
id="DiscouragedApi"
message="Fixed screen orientations will be ignored in most cases, starting from Android 16. Android is moving toward a model where apps are expected to adapt to various orientations, display sizes, and aspect ratios."
errorLine1=" android:screenOrientation=&quot;portrait&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="71"
column="13"/>
</issue>

<issue
id="ObsoleteSdkInt"
message="This folder configuration (`v26`) is unnecessary; `minSdkVersion` is 29. Merge all the resources in this folder into `mipmap-anydpi`.">
<location
file="src/main/res/mipmap-anydpi-v26"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.xml.authenticator` appears to be unused"
errorLine1="&lt;account-authenticator"
errorLine2="^">
<location
file="src/debug/res/xml/authenticator.xml"
line="2"
column="1"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.string.applicationId` appears to be unused">
<location
file="build.gradle.kts"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.string.applicationId` appears to be unused">
<location
file="build.gradle.kts"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.string.applicationId` appears to be unused">
<location
file="build.gradle.kts"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_alert` appears to be unused"
errorLine1=" &lt;color name=&quot;code_alert&quot;>#FF8383&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="4"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_alert_hover` appears to be unused"
errorLine1=" &lt;color name=&quot;code_alert_hover&quot;>#FFA1A1&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="5"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_warning` appears to be unused"
errorLine1=" &lt;color name=&quot;code_warning&quot;>#FFF383&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="6"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_warning_hover` appears to be unused"
errorLine1=" &lt;color name=&quot;code_warning_hover&quot;>#FFF6A3&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="7"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_success_positive` appears to be unused"
errorLine1=" &lt;color name=&quot;code_success_positive&quot;>#FFF6A3&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="8"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_success_positive_hover` appears to be unused"
errorLine1=" &lt;color name=&quot;code_success_positive_hover&quot;>#65F57C&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="9"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_gray_1` appears to be unused"
errorLine1=" &lt;color name=&quot;code_gray_1&quot;>#666666&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="12"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_gray_2` appears to be unused"
errorLine1=" &lt;color name=&quot;code_gray_2&quot;>#8D8D94&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="13"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_gray_3` appears to be unused"
errorLine1=" &lt;color name=&quot;code_gray_3&quot;>#BABBC2&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="14"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_gray_4` appears to be unused"
errorLine1=" &lt;color name=&quot;code_gray_4&quot;>#E6E6EB&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="15"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_gray_5` appears to be unused"
errorLine1=" &lt;color name=&quot;code_gray_5&quot;>#F0F0F5&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="16"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_brand` appears to be unused"
errorLine1=" &lt;color name=&quot;code_brand&quot;>#0F0C1F&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="19"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_brand_light` appears to be unused"
errorLine1=" &lt;color name=&quot;code_brand_light&quot;>#7379A0&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="20"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_brand_subtle` appears to be unused"
errorLine1=" &lt;color name=&quot;code_brand_subtle&quot;>#565C86&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="21"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.code_brand_accent` appears to be unused"
errorLine1=" &lt;color name=&quot;code_brand_accent&quot;>#443091&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="22"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.forty_percent_black` appears to be unused"
errorLine1=" &lt;color name=&quot;forty_percent_black&quot;>#66000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="26"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.seventy_percent_black` appears to be unused"
errorLine1=" &lt;color name=&quot;seventy_percent_black&quot;>#B3000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="27"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.clear` appears to be unused"
errorLine1=" &lt;color name=&quot;clear&quot;>#00000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="28"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.black` appears to be unused"
errorLine1=" &lt;color name=&quot;black&quot;>#FF000000&lt;/color>"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="31"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.white_30_percent` appears to be unused"
errorLine1=" &lt;color name=&quot;white_30_percent&quot;>#05FFFFFF&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/colors.xml"
line="33"
column="12"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.mipmap.ic_launcher_background` appears to be unused">
<location
file="src/main/res/mipmap-hdpi/ic_launcher_background.webp"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.color.ic_launcher_background` appears to be unused"
errorLine1=" &lt;color name=&quot;ic_launcher_background&quot;>#0F0C1F&lt;/color>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/ic_launcher_background.xml"
line="3"
column="12"/>
</issue>

<issue
id="UseTomlInstead"
message="Use the existing version catalog reference (`libs.androidx.webkit`) instead"
errorLine1=" implementation(&quot;androidx.webkit:webkit:1.16.0&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="242"
column="20"/>
</issue>

<issue
id="UseTomlInstead"
message="Use the existing version catalog reference (`libs.mockk`) instead"
errorLine1=" androidTestImplementation(&quot;io.mockk:mockk:1.14.11&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle.kts"
line="256"
column="31"/>
</issue>

</issues>
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ platform :android do
desc "Runs all the tests for Flipcash"
lane :flipcash_tests do
gradle(
task: "generateEmojiList flipcashTestDebug lintDebug",
task: "generateEmojiList flipcashTestDebug :apps:flipcash:app:lintDebug",
properties: {
"skipCoverage" => ENV.fetch("SKIP_COVERAGE", "false")
}
Expand Down
Loading