react-native-text-input-mask / react-native-text-input-mask

Text input mask for React Native, Android and iOS
MIT License
1.18k stars 305 forks source link

Error build android #292

Open tldkhang opened 1 year ago

tldkhang commented 1 year ago

Hi! πŸ‘‹

Firstly, thanks for your work on this project! πŸ™‚

Today I used patch-package to patch react-native-text-input-mask@3.1.4 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-text-input-mask/android/build.gradle b/node_modules/react-native-text-input-mask/android/build.gradle
index c94f33f..c045381 100644
--- a/node_modules/react-native-text-input-mask/android/build.gradle
+++ b/node_modules/react-native-text-input-mask/android/build.gradle
@@ -27,7 +27,7 @@ android {

 buildscript {
     ext {
-        kotlinVersion = '1.4.31'
+        kotlinVersion = '1.6.10'
     }
     repositories {
         jcenter()

This issue body was partially generated by patch-package.

Santosl2 commented 1 year ago

Oh, thanks dude! I had same problem