Skip to content

Commit

Permalink
chore: android module function name change
Browse files Browse the repository at this point in the history
  • Loading branch information
ko-devHong committed May 8, 2024
1 parent 71eb173 commit 7c78151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/com/cryptorsa/CryptoRsaModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CryptoRsaModule(reactContext: ReactApplicationContext) :

@RequiresApi(Build.VERSION_CODES.M)
@ReactMethod
fun init(keySize:Int?, promise: Promise) {
fun generateKeys(keySize:Int?, promise: Promise) {
runBlocking{
try {
cryptoRsa = CryptoRsa(_reactContext!!,keySize)
Expand Down

0 comments on commit 7c78151

Please sign in to comment.