diff --git a/android/app/build.gradle b/android/app/build.gradle index 4fae97e0e..68ae7292f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -27,5 +27,5 @@ android { dependencies { implementation "com.facebook.react:react-native:+" - implementation 'com.nimbusds:nimbus-jose-jwt:5.1' + implementation 'com.nimbusds:nimbus-jose-jwt:9.37.3' } diff --git a/android/app/src/main/java/com/microsoft/codepush/react/CodePushUpdateUtils.java b/android/app/src/main/java/com/microsoft/codepush/react/CodePushUpdateUtils.java index 7b6ffd0e9..af8b979f3 100644 --- a/android/app/src/main/java/com/microsoft/codepush/react/CodePushUpdateUtils.java +++ b/android/app/src/main/java/com/microsoft/codepush/react/CodePushUpdateUtils.java @@ -3,11 +3,12 @@ import android.content.Context; import android.util.Base64; +import com.nimbusds.jose.JWSVerifier; +import com.nimbusds.jose.crypto.RSASSAVerifier; +import com.nimbusds.jwt.SignedJWT; + import java.security.interfaces.*; -import com.nimbusds.jose.*; -import com.nimbusds.jose.crypto.*; -import com.nimbusds.jwt.*; import org.json.JSONArray; import org.json.JSONException;