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
Add support for passing a per-script `publicKey` from `ScriptManager` resolvers so signed bundles can be verified with a runtime-provided public key instead of only the app-embedded `RepackPublicKey`
?:throwException("The bundle verification failed because PublicKey was not found in the bundle. Make sure you've added the PublicKey to the res/values/strings.xml under RepackPublicKey key.")
93
100
94
-
val publicKey = parsePublicKey(stringPublicKey)
101
+
val publicKey = parsePublicKey(resolvedPublicKey)
95
102
?:throwException("The bundle verification failed because the PublicKey is invalid.")
96
103
97
104
val claims:Map<String, Any?> = verifyAndDecodeToken(token, publicKey)
0 commit comments