-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for full invisible flow (#39)
Co-authored-by: Sergiu Danalachi <[email protected]> Co-authored-by: e271828- <[email protected]>
- Loading branch information
1 parent
53d1947
commit 1b50afe
Showing
29 changed files
with
1,047 additions
and
567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
# Changelog | ||
|
||
# 3.0.0 | ||
|
||
- Add new boolean config option `HCaptchaConfig.hideDialog`. | ||
- (breaking change) Change the behavior of `addOnSuccessListener`, `addOnFailureListener` and `addOnOpenListener` methods. | ||
- previously: the callbacks were removed after utilization | ||
- currently: the callbacks are persisted to be reused for future calls on the same client. This allows multiple human verifications using the same client and the same callback. | ||
|
||
# 2.2.0 | ||
|
||
- Add new callback `addOnOpenListener`. | ||
|
||
## 2.1.0 | ||
|
||
- Add `HCaptcha.setup` method to improve cold-start time, enable asset caching ([#24](https://github.com/hCaptcha/hcaptcha-android-sdk/issues/24)) | ||
|
||
## 2.0.0 | ||
- Add more error codes (see readme for full list) | ||
- Add more error codes (see readme for full list) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<resources> | ||
<string name="app_name">Example hCaptcha App</string> | ||
<string name="size_invisible">Invisible</string> | ||
<string name="size_compact">Compact</string> | ||
<string name="size_normal">Normal</string> | ||
<string name="size_default">Default</string> | ||
<string name="clear">Clear</string> | ||
<string name="setup">Setup</string> | ||
<string name="show_hcaptcha">Show</string> | ||
<string name="verify">Verify</string> | ||
<string name="loading">Loading</string> | ||
<string name="web_view_debug">WebView Debug</string> | ||
</resources> | ||
<string name="hide_dialog">Hide Dialog</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
package="com.hcaptcha.sdk" | ||
tools:ignore="ExtraText"> | ||
<application> | ||
<activity android:name=".TestActivity" android:theme="@style/Theme.AppCompat.Light" /> | ||
</application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.