probably incompatibility with okHttp4 introduced in 0.65, here and here
After upgrading to react native 0.65.1 Android build returns:
e: /Users/stathis/WebstormProjects/xxxxxx/app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/NetworkHandler.kt: (49, 33): Using 'body(): ResponseBody?' is an error. moved to val
e: /Users/stathis/WebstormProjects/xxxxxx/app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/NetworkHandler.kt: (52, 36): Using 'headers(): Headers' is an error. moved to val
e: /Users/stathis/WebstormProjects/xxxxxx/app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/NetworkHandler.kt: (61, 40): Using 'code(): Int' is an error. moved to val
e: /Users/stathis/WebstormProjects/xxxxxx/app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/NetworkHandler.kt: (62, 44): Using 'message(): String' is an error. moved to val
e: /Users/stathis/WebstormProjects/xxxxxxx/app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/NetworkHandler.kt: (63, 45): Using 'url(): HttpUrl' is an error. moved to val
e: /Users/stathis/WebstormProjects/xxxxxx/app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/NetworkHandler.kt: (107, 26): Using 'body(): ResponseBody?' is an error. moved to val
probably incompatibility with
okHttp4
introduced in0.65
, here and hereAfter upgrading to react native
0.65.1
Android build returns:build.gradle