hcaptcha-android-sdk
hcaptcha-android-sdk copied to clipboard
Android SDK for hCaptcha
- https://github.com/hCaptcha/hcaptcha-android-sdk/issues/112 ### Open question [`jitpack` doesn't allow to customize published dependency names](https://jitpack.io/docs/BUILDING/#gradle-projects). For now, we have `com.github.hcaptcha:hcaptcha-android-sdk:x.y.z` which will become `com.github.hcaptcha.hcaptcha-android-sdk:sdk:x.y.z` and one more artifact will be added `com.github.hcaptcha.hcaptcha-android-sdk:compose:u.v.w`...
HCaptcha.getClient(context) casts context to FragmentActivity. If application is written with Jetpack Compose - fragment activity can not be provided. How to get HCaptcha client when fragment activity context can not...
### Problem SDK requires `FragmentActivity` instance but it's not required for all cases (for example `hidenDialog=true`) Check is we can provide less restrictive API in term of activity type
- https://github.com/hCaptcha/hcaptcha-android-sdk/actions/runs/4476581946/jobs/7867084773
### Intro Tests are still shaky they fail once per 10-15 runs ### Proposal Tests mostly fail because of "No views in hierarchy found", screenshots may help to troubleshoot them...
### Problem https://github.com/hCaptcha/hcaptcha-android-sdk/actions/runs/4703861808/jobs/8394211306 GitHub Actions Workflow doesn't work correctly for PR from forks, it fails on: Sonar Job: ``` FAILURE: Build failed with an exception. * What went wrong: Execution...
Looks like no third-party libraries need, ~this can be achieved by a single config https://developer.android.com/training/articles/security-config#CertificatePinning~ Upd. We need to be able to update certs: https://github.com/wultra/ssl-pinning-android allow dynamic SSL pinning