Check signature of an APK
keytool -printcert -jarfile file.apk
The SHA256 is the interesting one and need for the assetlink.json
Reverify assetlink
package be.tim.rijckaert.snaprecyclerview; | |
import android.graphics.PointF; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.LinearSnapHelper; | |
import android.support.v7.widget.OrientationHelper; | |
import android.support.v7.widget.RecyclerView; | |
import android.support.v7.widget.RecyclerView.LayoutManager; |
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="be.rijckaert.tim.disableanimations"> | |
<!-- Place this permission in your debug folder --> | |
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/> | |
</manifest> |
class CreditCardTextWatcher(private val maxLength: Int) : TextWatcher { | |
override fun beforeTextChanged(s: CharSequence, start: Int, count: Int, after: Int) {} | |
override fun onTextChanged(s: CharSequence, start: Int, before: Int, count: Int) {} | |
override fun afterTextChanged(s: Editable) { | |
val textLength = s.length | |
// first remove any previous span | |
val spans = s.getSpans(0, s.length, SpaceSpan::class.java) | |
for (i in spans.indices) { |
//https://arrow-kt.io/docs/apidocs/arrow-core-data/arrow.core/-either/ | |
sealed class Either<out A, out B> { | |
internal abstract val isRight: Boolean | |
internal abstract val isLeft: Boolean | |
fun isLeft(): Boolean = isLeft |
package com.example.sample | |
import arrow.core.Either | |
import arrow.core.NonEmptyList | |
import arrow.core.computations.either | |
import arrow.core.flatMap | |
import arrow.core.nonEmptyListOf | |
import arrow.core.right | |
import arrow.core.traverseEither | |
import arrow.core.zip |
interface FlowProvider { | |
fun returnsAColdFlow(): Flow<Int> = flow { | |
repeat(5) { | |
emit(it) | |
delay(100) | |
} | |
} | |
} | |
object DefaultFlowProvider : FlowProvider |
package com.bnpp.easybanking.zeplin.molecule | |
import androidx.annotation.StringRes | |
import androidx.compose.runtime.Composable | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.text.TextStyle | |
import androidx.compose.ui.text.style.TextDecoration | |
import com.bnpp.easybanking.zeplin.molecule.CellData.Companion.DefaultMaxLines | |
import com.bnpp.easybanking.zeplin.molecule.CellData.Companion.DefaultTextDecoration | |
import com.bnpp.easybanking.zeplin.molecule.CellData.Companion.DefaultTextModifier |
package com.bnppf.easybanking | |
import arrow.fx.coroutines.Schedule | |
import io.kotest.core.spec.style.StringSpec | |
import kotlin.time.Duration.Companion.seconds | |
import kotlin.time.ExperimentalTime | |
import kotlin.time.TimeMark | |
import kotlin.time.TimeSource | |
@OptIn(ExperimentalTime::class) |
Check signature of an APK
keytool -printcert -jarfile file.apk
The SHA256 is the interesting one and need for the assetlink.json
Reverify assetlink
#!/usr/bin/python | |
import glob | |
import os | |
import sys | |
from subprocess import Popen, PIPE | |
# Script that will compare screenshots to a set of previous screenshots | |
# first arg: full path to base screenshots | |
# second arg: full path to spoon output dir |