You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ We also provide an out-of-the-box [Hyperwallet Android UI SDK](https://github.c
21
21
To install Hyperwallet Core SDK, you just need to add the dependency into your build.gradle file in Android Studio (or Gradle). For example:
22
22
23
23
```bash
24
-
api 'com.hyperwallet.android:core-sdk:1.0.0-beta12'
24
+
api 'com.hyperwallet.android:core-sdk:1.0.2'
25
25
```
26
26
27
27
### Proguard
@@ -32,6 +32,13 @@ When enabling Proguard, please add a rule in `proguard-rules.pro` file in your m
32
32
-keep public class com.hyperwallet.android.** { *; }
33
33
```
34
34
35
+
On Grandle 7 and above, please add rules as well.
36
+
Note: That will prevent `java.lang.NoSuchMethodException: com.hyperwallet.android.model.TypeReference.<init> [class org.json.JSONObject]`
37
+
```properties
38
+
-keep,allowobfuscation,allowshrinking class com.hyperwallet.android.model.TypeReference
39
+
-keep,allowobfuscation,allowshrinking class * extends com.hyperwallet.android.model.TypeReference
40
+
```
41
+
35
42
## Initialization
36
43
37
44
After you're done installing the SDK, you need to initialize an instance in order to utilize core SDK functions. Also you need to provide a [HyperwalletAuthenticationTokenProvider](#Authentication) object to retrieve an authentication token.
0 commit comments